diff options
author | Melanie Thielker | 2009-06-24 09:49:49 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-06-24 09:49:49 +0000 |
commit | fa786c480b288f86a8a90dfa6c216fc4774e3d7a (patch) | |
tree | 96bf1d7f0bf40927714e7de5e3e0dc28d8cd01c6 /OpenSim/Region/Framework/Scenes/UndoState.cs | |
parent | Update svn properties. (diff) | |
download | opensim-SC-fa786c480b288f86a8a90dfa6c216fc4774e3d7a.zip opensim-SC-fa786c480b288f86a8a90dfa6c216fc4774e3d7a.tar.gz opensim-SC-fa786c480b288f86a8a90dfa6c216fc4774e3d7a.tar.bz2 opensim-SC-fa786c480b288f86a8a90dfa6c216fc4774e3d7a.tar.xz |
Reading GroupPosition, but setting OffsetPosition in undo doesnt' seem right.
This may fix the Mantii where individual prims ctrl-z to nirvana, but
it's not tested.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/UndoState.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/UndoState.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/UndoState.cs b/OpenSim/Region/Framework/Scenes/UndoState.cs index 82a85e6..713ff69 100644 --- a/OpenSim/Region/Framework/Scenes/UndoState.cs +++ b/OpenSim/Region/Framework/Scenes/UndoState.cs | |||
@@ -54,7 +54,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
54 | } | 54 | } |
55 | else | 55 | else |
56 | { | 56 | { |
57 | Position = part.GroupPosition; | 57 | Position = part.OffsetPosition; |
58 | Rotation = part.RotationOffset; | 58 | Rotation = part.RotationOffset; |
59 | Scale = part.Shape.Scale; | 59 | Scale = part.Shape.Scale; |
60 | 60 | ||
@@ -75,7 +75,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
75 | } | 75 | } |
76 | else | 76 | else |
77 | { | 77 | { |
78 | if (Position == part.GroupPosition && Rotation == part.RotationOffset && Scale == part.Shape.Scale) | 78 | if (Position == part.OffsetPosition && Rotation == part.RotationOffset && Scale == part.Shape.Scale) |
79 | return true; | 79 | return true; |
80 | else | 80 | else |
81 | return false; | 81 | return false; |