fix undo when resizing of non-root individual prims in a linkset

undo resize, rotation and position still needs fixing when only editing root prim of a linkset
This commit is contained in:
Justin Clark-Casey (justincc)
2011-07-19 03:27:16 +01:00
parent 430a4aeba8
commit c94dc95844
3 changed files with 11 additions and 4 deletions

View File

@@ -11424,6 +11424,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
handlerUpdatePrimScale = OnUpdatePrimScale;
if (handlerUpdatePrimScale != null)
{
part.StoreUndoState(false);
part.IgnoreUndoUpdate = true;
// m_log.Debug("new scale is " + scale.X + " , " + scale.Y + " , " + scale.Z);
handlerUpdatePrimScale(localId, scale6, this);
handlerUpdatePrimSinglePosition = OnUpdatePrimSinglePosition;
@@ -11431,6 +11434,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
{
handlerUpdatePrimSinglePosition(localId, pos6, this);
}
part.IgnoreUndoUpdate = false;
}
break;