remove lock that did nothing, DEBUG disable TriggerOnSceneObjectPreSave
parent
6600282fe9
commit
cfc8de096b
|
@ -537,8 +537,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
Scene.TestBorderCross(val, Cardinals.S))
|
Scene.TestBorderCross(val, Cardinals.S))
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
lock (m_parts)
|
|
||||||
{
|
|
||||||
if (!inTransit)
|
if (!inTransit)
|
||||||
{
|
{
|
||||||
inTransit = true;
|
inTransit = true;
|
||||||
|
@ -546,7 +544,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
d.BeginInvoke(this, val, CrossAsyncCompleted, d);
|
d.BeginInvoke(this, val, CrossAsyncCompleted, d);
|
||||||
}
|
}
|
||||||
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