mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Fix an issue with rezzing scripted objects.
This commit is contained in:
@@ -278,7 +278,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
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_items.LockItemsForWrite(true);
|
||||
@@ -1263,4 +1263,4 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
Items.LockItemsForRead(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user