mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 20:55:43 +08:00
Changed asset CreatorID to a string
This commit is contained in:
@@ -384,7 +384,7 @@ namespace OpenSim.Region.Framework.Scenes.Animation
|
||||
}
|
||||
}
|
||||
|
||||
AssetBase Animasset = new AssetBase(UUID.Random(), "Random Animation", (sbyte)AssetType.Animation, m_scenePresence.UUID);
|
||||
AssetBase Animasset = new AssetBase(UUID.Random(), "Random Animation", (sbyte)AssetType.Animation, m_scenePresence.UUID.ToString());
|
||||
Animasset.Data = anim.ToBytes();
|
||||
Animasset.Temporary = true;
|
||||
Animasset.Local = true;
|
||||
|
||||
@@ -572,7 +572,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
/// </summary>
|
||||
private AssetBase CreateAsset(string name, string description, sbyte assetType, byte[] data, UUID creatorID)
|
||||
{
|
||||
AssetBase asset = new AssetBase(UUID.Random(), name, assetType, creatorID);
|
||||
AssetBase asset = new AssetBase(UUID.Random(), name, assetType, creatorID.ToString());
|
||||
asset.Description = description;
|
||||
asset.Data = (data == null) ? new byte[1] : data;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user