diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Framework')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs index eec852e..37f1da9 100644 --- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs +++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | |||
@@ -161,7 +161,7 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess | |||
161 | } | 161 | } |
162 | 162 | ||
163 | AssetBase asset = | 163 | AssetBase asset = |
164 | CreateAsset(item.Name, item.Description, (sbyte)item.AssetType, data, remoteClient.AgentId); | 164 | CreateAsset(item.Name, item.Description, (sbyte)item.AssetType, data, remoteClient.AgentId.ToString()); |
165 | item.AssetID = asset.FullID; | 165 | item.AssetID = asset.FullID; |
166 | m_Scene.AssetService.Store(asset); | 166 | m_Scene.AssetService.Store(asset); |
167 | 167 | ||
@@ -340,7 +340,7 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess | |||
340 | objectGroup.GetPartDescription(objectGroup.RootPart.LocalId), | 340 | objectGroup.GetPartDescription(objectGroup.RootPart.LocalId), |
341 | (sbyte)AssetType.Object, | 341 | (sbyte)AssetType.Object, |
342 | Utils.StringToBytes(sceneObjectXml), | 342 | Utils.StringToBytes(sceneObjectXml), |
343 | objectGroup.OwnerID); | 343 | objectGroup.OwnerID.ToString()); |
344 | m_Scene.AssetService.Store(asset); | 344 | m_Scene.AssetService.Store(asset); |
345 | assetID = asset.FullID; | 345 | assetID = asset.FullID; |
346 | 346 | ||
@@ -641,7 +641,7 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess | |||
641 | /// <param name="assetType"></param> | 641 | /// <param name="assetType"></param> |
642 | /// <param name="data"></param> | 642 | /// <param name="data"></param> |
643 | /// <returns></returns> | 643 | /// <returns></returns> |
644 | private AssetBase CreateAsset(string name, string description, sbyte assetType, byte[] data, UUID creatorID) | 644 | private AssetBase CreateAsset(string name, string description, sbyte assetType, byte[] data, string creatorID) |
645 | { | 645 | { |
646 | AssetBase asset = new AssetBase(UUID.Random(), name, assetType, creatorID); | 646 | AssetBase asset = new AssetBase(UUID.Random(), name, assetType, creatorID); |
647 | asset.Description = description; | 647 | asset.Description = description; |