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).

This commit is contained in:
Tom Grimshaw
2010-07-04 20:45:11 -07:00
parent c616335019
commit 8849b9af8b

View File

@@ -3492,11 +3492,11 @@ namespace OpenSim.Region.Framework.Scenes
}
else
{
part.StoreUndoState(UndoType.STATE_PRIM_ROTATION);
part.IgnoreUndoUpdate = true;
part.UpdateRotation(rot);
part.OffsetPosition = pos;
part.IgnoreUndoUpdate = false;
part.StoreUndoState(UndoType.STATE_PRIM_ROTATION);
}
}
}