aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie Thielker2010-09-03 03:16:08 +0200
committerMelanie Thielker2010-09-03 03:16:08 +0200
commit457160afc3cc0878b068486a7cbb8a41a5f18520 (patch)
treed8101d120a2e0ed778b5e187af078e024532b256 /OpenSim
parentMerge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/ca... (diff)
downloadopensim-SC_OLD-457160afc3cc0878b068486a7cbb8a41a5f18520.zip
opensim-SC_OLD-457160afc3cc0878b068486a7cbb8a41a5f18520.tar.gz
opensim-SC_OLD-457160afc3cc0878b068486a7cbb8a41a5f18520.tar.bz2
opensim-SC_OLD-457160afc3cc0878b068486a7cbb8a41a5f18520.tar.xz
Fix an issue with rezzing scripted objects.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
index c5994b2..1959427 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs
@@ -278,7 +278,7 @@ namespace OpenSim.Region.Framework.Scenes
278 278
279 if (!m_part.ParentGroup.Scene.RegionInfo.RegionSettings.DisableScripts) 279 if (!m_part.ParentGroup.Scene.RegionInfo.RegionSettings.DisableScripts)
280 { 280 {
281 if (stateSource == 1 && // Prim crossing 281 if (stateSource == 2 && // Prim crossing
282 m_part.ParentGroup.Scene.m_trustBinaries) 282 m_part.ParentGroup.Scene.m_trustBinaries)
283 { 283 {
284 m_items.LockItemsForWrite(true); 284 m_items.LockItemsForWrite(true);
@@ -1263,4 +1263,4 @@ namespace OpenSim.Region.Framework.Scenes
1263 Items.LockItemsForRead(false); 1263 Items.LockItemsForRead(false);
1264 } 1264 }
1265 } 1265 }
1266} \ No newline at end of file 1266}