mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
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:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user