aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-07-19 03:27:16 +0100
committerJustin Clark-Casey (justincc)2011-07-19 03:27:16 +0100
commitc94dc95844c5a43483a30807353aaebf658b015e (patch)
tree1edf238023cd491e546141c5e04f7b0768f6ecdb /OpenSim/Region/ClientStack/Linden/UDP
parentFix undo for resizing linksets (diff)
downloadopensim-SC_OLD-c94dc95844c5a43483a30807353aaebf658b015e.zip
opensim-SC_OLD-c94dc95844c5a43483a30807353aaebf658b015e.tar.gz
opensim-SC_OLD-c94dc95844c5a43483a30807353aaebf658b015e.tar.bz2
opensim-SC_OLD-c94dc95844c5a43483a30807353aaebf658b015e.tar.xz
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
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index 4c0b53c..a34ad62 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -11424,6 +11424,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
11424 handlerUpdatePrimScale = OnUpdatePrimScale; 11424 handlerUpdatePrimScale = OnUpdatePrimScale;
11425 if (handlerUpdatePrimScale != null) 11425 if (handlerUpdatePrimScale != null)
11426 { 11426 {
11427 part.StoreUndoState(false);
11428 part.IgnoreUndoUpdate = true;
11429
11427 // m_log.Debug("new scale is " + scale.X + " , " + scale.Y + " , " + scale.Z); 11430 // m_log.Debug("new scale is " + scale.X + " , " + scale.Y + " , " + scale.Z);
11428 handlerUpdatePrimScale(localId, scale6, this); 11431 handlerUpdatePrimScale(localId, scale6, this);
11429 handlerUpdatePrimSinglePosition = OnUpdatePrimSinglePosition; 11432 handlerUpdatePrimSinglePosition = OnUpdatePrimSinglePosition;
@@ -11431,6 +11434,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
11431 { 11434 {
11432 handlerUpdatePrimSinglePosition(localId, pos6, this); 11435 handlerUpdatePrimSinglePosition(localId, pos6, this);
11433 } 11436 }
11437
11438 part.IgnoreUndoUpdate = false;
11434 } 11439 }
11435 break; 11440 break;
11436 11441