aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Framework/Scenes/UndoState.cs4
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;