diff options
author | Melanie Thielker | 2008-11-29 14:26:42 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-11-29 14:26:42 +0000 |
commit | b6fef0fdb8d7027769db7945ad4717841a59450e (patch) | |
tree | 22d2ab56a69d2f1c0913ede6d4268e9f8ea3284f /OpenSim/Region/Environment/Scenes/SceneObjectPartInventory.cs | |
parent | Start scripts in attachments only after a successful attach. Elimininate (diff) | |
download | opensim-SC_OLD-b6fef0fdb8d7027769db7945ad4717841a59450e.zip opensim-SC_OLD-b6fef0fdb8d7027769db7945ad4717841a59450e.tar.gz opensim-SC_OLD-b6fef0fdb8d7027769db7945ad4717841a59450e.tar.bz2 opensim-SC_OLD-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.cs | 3 |
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; |