aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.Inventory.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
index 560e17e..c3391d6 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
@@ -1311,8 +1311,9 @@ namespace OpenSim.Region.Environment.Scenes
1311 } 1311 }
1312 1312
1313 part.ParentGroup.AddInventoryItem(remoteClient, localID, item, copyID); 1313 part.ParentGroup.AddInventoryItem(remoteClient, localID, item, copyID);
1314 // TODO: set this to "true" when scripts in inventory have persistent state to fire on_rez 1314 // Posting on_rez to the prim. Not much point, but
1315 part.CreateScriptInstance(copyID, 0, false, DefaultScriptEngine); 1315 // needed to kill gratuitious compiler messages
1316 part.CreateScriptInstance(copyID, 0, true, DefaultScriptEngine);
1316 1317
1317 // m_log.InfoFormat("[PRIMINVENTORY]: " + 1318 // m_log.InfoFormat("[PRIMINVENTORY]: " +
1318 // "Rezzed script {0} into prim local ID {1} for user {2}", 1319 // "Rezzed script {0} into prim local ID {1} for user {2}",