* Added more documentation to Types.cs
* Renamed LLUUID.GenerateUUID() to LLUUID.Random() * Optimized the type classes hashing functions * Fixed a bug where source packet data would be modified on big endian platforms when creating type classes * Normalized the ToString() output of the type classes git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@677 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -33,7 +33,7 @@ namespace libsecondlife.InventorySystem
|
||||
|
||||
set
|
||||
{
|
||||
base._Asset = new AssetImage( LLUUID.GenerateUUID(), value );
|
||||
base._Asset = new AssetImage( LLUUID.Random(), value );
|
||||
LLUUID TransactionID = base.iManager.AssetManager.UploadAsset( Asset );
|
||||
base.SetAssetTransactionIDs( Asset.AssetID, TransactionID );
|
||||
}
|
||||
@@ -86,7 +86,7 @@ namespace libsecondlife.InventorySystem
|
||||
}
|
||||
else
|
||||
{
|
||||
_Asset = new AssetImage( LLUUID.GenerateUUID(), assetData );
|
||||
_Asset = new AssetImage( LLUUID.Random(), assetData );
|
||||
_AssetID = _Asset.AssetID;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user