aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorTom Grimshaw2010-07-04 20:45:11 -0700
committerTom Grimshaw2010-07-04 20:45:11 -0700
commit8849b9af8bd3260152dede0ccf61fd98137ef6c5 (patch)
tree9d9051ce875aa647dc00ad47189ee92ff09914e3 /OpenSim
parentRotation undo fix and remove a debug chatter i missed. Still not working: Ind... (diff)
downloadopensim-SC_OLD-8849b9af8bd3260152dede0ccf61fd98137ef6c5.zip
opensim-SC_OLD-8849b9af8bd3260152dede0ccf61fd98137ef6c5.tar.gz
opensim-SC_OLD-8849b9af8bd3260152dede0ccf61fd98137ef6c5.tar.bz2
opensim-SC_OLD-8849b9af8bd3260152dede0ccf61fd98137ef6c5.tar.xz
Fix single prim rotation undo. All UNDO functions are now working correctly except for when the root prim is moved or rotated as a single prim (coming soon).
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index 34712b8..7492601 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -3492,11 +3492,11 @@ namespace OpenSim.Region.Framework.Scenes
3492 } 3492 }
3493 else 3493 else
3494 { 3494 {
3495 part.StoreUndoState(UndoType.STATE_PRIM_ROTATION);
3495 part.IgnoreUndoUpdate = true; 3496 part.IgnoreUndoUpdate = true;
3496 part.UpdateRotation(rot); 3497 part.UpdateRotation(rot);
3497 part.OffsetPosition = pos; 3498 part.OffsetPosition = pos;
3498 part.IgnoreUndoUpdate = false; 3499 part.IgnoreUndoUpdate = false;
3499 part.StoreUndoState(UndoType.STATE_PRIM_ROTATION);
3500 } 3500 }
3501 } 3501 }
3502 } 3502 }