remove lock that did nothing, DEBUG disable TriggerOnSceneObjectPreSave
parent
6600282fe9
commit
cfc8de096b
|
@ -536,8 +536,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
Scene.TestBorderCross(val, Cardinals.N) ||
|
Scene.TestBorderCross(val, Cardinals.N) ||
|
||||||
Scene.TestBorderCross(val, Cardinals.S))
|
Scene.TestBorderCross(val, Cardinals.S))
|
||||||
)
|
)
|
||||||
{
|
|
||||||
lock (m_parts)
|
|
||||||
{
|
{
|
||||||
if (!inTransit)
|
if (!inTransit)
|
||||||
{
|
{
|
||||||
|
@ -547,7 +545,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (RootPart.GetStatusSandbox())
|
if (RootPart.GetStatusSandbox())
|
||||||
{
|
{
|
||||||
|
@ -2191,7 +2188,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
HasGroupChanged = false;
|
HasGroupChanged = false;
|
||||||
HasGroupChangedDueToDelink = false;
|
HasGroupChangedDueToDelink = false;
|
||||||
|
|
||||||
m_scene.EventManager.TriggerOnSceneObjectPreSave(backup_group, this);
|
|
||||||
|
// DEBUG
|
||||||
|
// m_scene.EventManager.TriggerOnSceneObjectPreSave(backup_group, this);
|
||||||
/*
|
/*
|
||||||
backup_group.ForEachPart(delegate(SceneObjectPart part)
|
backup_group.ForEachPart(delegate(SceneObjectPart part)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue