Prevent spurious "CHANGED_POSITION" during region backup
parent
a6e305063e
commit
32b8fa4a77
|
@ -481,14 +481,15 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
}
|
||||
}
|
||||
SceneObjectPart[] parts = m_parts.GetArray();
|
||||
bool triggerScriptEvent = m_rootPart.GroupPosition != val;
|
||||
if (m_dupeInProgress)
|
||||
triggerScriptEvent = false;
|
||||
foreach (SceneObjectPart part in parts)
|
||||
{
|
||||
part.GroupPosition = val;
|
||||
if (!m_dupeInProgress)
|
||||
{
|
||||
if (triggerScriptEvent)
|
||||
part.TriggerScriptChangedEvent(Changed.POSITION);
|
||||
}
|
||||
}
|
||||
if (!m_dupeInProgress)
|
||||
{
|
||||
foreach (ScenePresence av in m_linkedAvatars)
|
||||
|
|
Loading…
Reference in New Issue