diff options
author | Tom Grimshaw | 2010-07-04 20:45:11 -0700 |
---|---|---|
committer | Tom Grimshaw | 2010-07-04 20:45:11 -0700 |
commit | 8849b9af8bd3260152dede0ccf61fd98137ef6c5 (patch) | |
tree | 9d9051ce875aa647dc00ad47189ee92ff09914e3 /OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |
parent | Rotation undo fix and remove a debug chatter i missed. Still not working: Ind... (diff) | |
download | opensim-SC-8849b9af8bd3260152dede0ccf61fd98137ef6c5.zip opensim-SC-8849b9af8bd3260152dede0ccf61fd98137ef6c5.tar.gz opensim-SC-8849b9af8bd3260152dede0ccf61fd98137ef6c5.tar.bz2 opensim-SC-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/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 2 |
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 | } |