aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectPartInventory.cs
diff options
context:
space:
mode:
authorMelanie Thielker2008-11-29 14:26:42 +0000
committerMelanie Thielker2008-11-29 14:26:42 +0000
commitb6fef0fdb8d7027769db7945ad4717841a59450e (patch)
tree22d2ab56a69d2f1c0913ede6d4268e9f8ea3284f /OpenSim/Region/Environment/Scenes/SceneObjectPartInventory.cs
parentStart scripts in attachments only after a successful attach. Elimininate (diff)
downloadopensim-SC-b6fef0fdb8d7027769db7945ad4717841a59450e.zip
opensim-SC-b6fef0fdb8d7027769db7945ad4717841a59450e.tar.gz
opensim-SC-b6fef0fdb8d7027769db7945ad4717841a59450e.tar.bz2
opensim-SC-b6fef0fdb8d7027769db7945ad4717841a59450e.tar.xz
Add configuration values for scripted prim region crossing
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPartInventory.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPartInventory.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPartInventory.cs
index 99ac722..6ebd675 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPartInventory.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPartInventory.cs
@@ -241,7 +241,8 @@ namespace OpenSim.Region.Environment.Scenes
241 241
242 if (!m_part.ParentGroup.Scene.RegionInfo.RegionSettings.DisableScripts) 242 if (!m_part.ParentGroup.Scene.RegionInfo.RegionSettings.DisableScripts)
243 { 243 {
244 if (stateSource == 1) // Prim crossing 244 if (stateSource == 1 && // Prim crossing
245 m_part.ParentGroup.Scene.m_trustBinaries)
245 { 246 {
246 m_items[item.ItemID].PermsMask = 0; 247 m_items[item.ItemID].PermsMask = 0;
247 m_items[item.ItemID].PermsGranter = UUID.Zero; 248 m_items[item.ItemID].PermsGranter = UUID.Zero;