Let CHANGED_SCALE also trigger when editing prims and linksets with the viewer's edit tools.

This event used to trigger only when the scale was changed with a script.
This commit is contained in:
Marck
2010-11-22 15:47:48 +01:00
parent d63965cf94
commit e1c72cedb3

View File

@@ -2607,6 +2607,7 @@ namespace OpenSim.Region.Framework.Scenes
//if (part.UUID != m_rootPart.UUID)
HasGroupChanged = true;
part.TriggerScriptChangedEvent(Changed.SCALE);
ScheduleGroupForFullUpdate();
//if (part.UUID == m_rootPart.UUID)
@@ -2758,6 +2759,7 @@ namespace OpenSim.Region.Framework.Scenes
part.IgnoreUndoUpdate = false;
part.StoreUndoState();
HasGroupChanged = true;
m_rootPart.TriggerScriptChangedEvent(Changed.SCALE);
ScheduleGroupForTerseUpdate();
}
}