diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/UndoState.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/UndoState.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/UndoState.cs b/OpenSim/Region/Framework/Scenes/UndoState.cs index 68d4cb4..dc509d9 100644 --- a/OpenSim/Region/Framework/Scenes/UndoState.cs +++ b/OpenSim/Region/Framework/Scenes/UndoState.cs | |||
@@ -150,8 +150,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
150 | "[UNDO STATE]: Undoing rotation {0} to {1} for root part {2} {3}", | 150 | "[UNDO STATE]: Undoing rotation {0} to {1} for root part {2} {3}", |
151 | part.RotationOffset, Rotation, part.Name, part.LocalId); | 151 | part.RotationOffset, Rotation, part.Name, part.LocalId); |
152 | 152 | ||
153 | part.UpdateRotation(Rotation); | 153 | if (ForGroup) |
154 | //part.RotationOffset = Rotation; | 154 | part.UpdateRotation(Rotation); |
155 | else | ||
156 | part.ParentGroup.UpdateRootRotation(Rotation); | ||
155 | 157 | ||
156 | if (Scale != Vector3.Zero) | 158 | if (Scale != Vector3.Zero) |
157 | { | 159 | { |