Fix an issue with rezzing scripted objects.

avinationmerge
Melanie Thielker 2010-09-03 03:16:08 +02:00
parent 24c73aa8b2
commit 457160afc3
1 changed files with 2 additions and 2 deletions

View File

@ -278,7 +278,7 @@ namespace OpenSim.Region.Framework.Scenes
if (!m_part.ParentGroup.Scene.RegionInfo.RegionSettings.DisableScripts) if (!m_part.ParentGroup.Scene.RegionInfo.RegionSettings.DisableScripts)
{ {
if (stateSource == 1 && // Prim crossing if (stateSource == 2 && // Prim crossing
m_part.ParentGroup.Scene.m_trustBinaries) m_part.ParentGroup.Scene.m_trustBinaries)
{ {
m_items.LockItemsForWrite(true); m_items.LockItemsForWrite(true);
@ -1263,4 +1263,4 @@ namespace OpenSim.Region.Framework.Scenes
Items.LockItemsForRead(false); Items.LockItemsForRead(false);
} }
} }
} }