diff options
author | Melanie Thielker | 2008-09-26 20:18:31 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-09-26 20:18:31 +0000 |
commit | b4164223496812ccf8c6d0a938f57a12595d68a0 (patch) | |
tree | 9d32f3fbedb0bd024297b23e45617eaf5980fb80 /OpenSim/Region/Environment | |
parent | Fix listeners in multi-region instances (diff) | |
download | opensim-SC-b4164223496812ccf8c6d0a938f57a12595d68a0.zip opensim-SC-b4164223496812ccf8c6d0a938f57a12595d68a0.tar.gz opensim-SC-b4164223496812ccf8c6d0a938f57a12595d68a0.tar.bz2 opensim-SC-b4164223496812ccf8c6d0a938f57a12595d68a0.tar.xz |
Kill "Compile successful" message when rezzing prims/wearing attachments
Changes behavior to send on_rez event to prims when rezzed from agent
inventory.
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | 5 |
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}", |