diff options
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs index aacad98..3734e03 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | |||
@@ -1219,13 +1219,19 @@ namespace OpenSim.Region.Framework.Scenes | |||
1219 | { | 1219 | { |
1220 | if (engine != null) | 1220 | if (engine != null) |
1221 | { | 1221 | { |
1222 | // m_log.DebugFormat( | ||
1223 | // "[PRIM INVENTORY]: Resuming script {0} {1} for {2}, OwnerChanged {3}", | ||
1224 | // item.Name, item.ItemID, item.OwnerID, item.OwnerChanged); | ||
1225 | |||
1226 | engine.ResumeScript(item.ItemID); | ||
1227 | |||
1222 | if (item.OwnerChanged) | 1228 | if (item.OwnerChanged) |
1223 | engine.PostScriptEvent(item.ItemID, "changed", new Object[] { (int)Changed.OWNER }); | 1229 | engine.PostScriptEvent(item.ItemID, "changed", new Object[] { (int)Changed.OWNER }); |
1230 | |||
1224 | item.OwnerChanged = false; | 1231 | item.OwnerChanged = false; |
1225 | engine.ResumeScript(item.ItemID); | ||
1226 | } | 1232 | } |
1227 | } | 1233 | } |
1228 | } | 1234 | } |
1229 | } | 1235 | } |
1230 | } | 1236 | } |
1231 | } | 1237 | } \ No newline at end of file |