aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs
index da04bef..3975b25 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs
@@ -179,6 +179,8 @@ namespace OpenSim.Region.Environment.Scenes
179 } 179 }
180 else 180 else
181 { 181 {
182 m_taskInventory[item.ItemID].PermsMask = 0;
183 m_taskInventory[item.ItemID].PermsGranter = LLUUID.Zero;
182 string script = Helpers.FieldToUTF8String(asset.Data); 184 string script = Helpers.FieldToUTF8String(asset.Data);
183 m_parentGroup.Scene.EventManager.TriggerRezScript(LocalId,item.ItemID,script, startParam, postOnRez); 185 m_parentGroup.Scene.EventManager.TriggerRezScript(LocalId,item.ItemID,script, startParam, postOnRez);
184 m_parentGroup.AddActiveScriptCount(1); 186 m_parentGroup.AddActiveScriptCount(1);