diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.Inventory.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs index 1a77565..5b46040 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | |||
@@ -557,7 +557,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
557 | 557 | ||
558 | if (rezAsset != null) | 558 | if (rezAsset != null) |
559 | { | 559 | { |
560 | string script = Util.FieldToString(rezAsset.Data); | 560 | string script = Helpers.FieldToUTF8String(rezAsset.Data); |
561 | EventManager.TriggerRezScript(localID, copyID, script); | 561 | EventManager.TriggerRezScript(localID, copyID, script); |
562 | rezzed = true; | 562 | rezzed = true; |
563 | } | 563 | } |
@@ -733,7 +733,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
733 | 733 | ||
734 | if (rezAsset != null) | 734 | if (rezAsset != null) |
735 | { | 735 | { |
736 | AddRezObject(Util.FieldToString(rezAsset.Data), pos); | 736 | AddRezObject(Helpers.FieldToUTF8String(rezAsset.Data), pos); |
737 | //userInfo.DeleteItem(remoteClient.AgentId, item); | 737 | //userInfo.DeleteItem(remoteClient.AgentId, item); |
738 | //remoteClient.SendRemoveInventoryItem(itemID); | 738 | //remoteClient.SendRemoveInventoryItem(itemID); |
739 | } | 739 | } |