internal override void SetAssetData( byte[] assetData )
 {
     if( Asset == null )
     {
         if( AssetID != null )
         {
             _Asset = new AssetImage( AssetID, assetData );
         }
         else
         {
             _Asset   = new AssetImage( LLUUID.GenerateUUID(), assetData );
             _AssetID = _Asset.AssetID;
         }
     }
     else
     {
         Asset.AssetData = assetData;
     }
 }
Beispiel #2
0
		override internal void SetAssetData( byte[] assetData )
		{
			if( _Asset == null )
			{
				if( _AssetID != null )
				{
					_Asset = new AssetImage( _AssetID, assetData );
				} 
				else 
				{
					_Asset   = new AssetImage( LLUUID.Random(), assetData );
					_AssetID = _Asset.AssetID;
				}
			} 
			else 
			{
				Asset.SetAssetData(assetData);
			}

		}