mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
Fix undo for rotation of the root prim in a linkset on its own.
The only obviously broken things right now are the undo of the position of just a root prim (stays in place) and the fact that resizes need two undoes.
This commit is contained in:
@@ -150,8 +150,10 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
"[UNDO STATE]: Undoing rotation {0} to {1} for root part {2} {3}",
|
||||
part.RotationOffset, Rotation, part.Name, part.LocalId);
|
||||
|
||||
part.UpdateRotation(Rotation);
|
||||
//part.RotationOffset = Rotation;
|
||||
if (ForGroup)
|
||||
part.UpdateRotation(Rotation);
|
||||
else
|
||||
part.ParentGroup.UpdateRootRotation(Rotation);
|
||||
|
||||
if (Scale != Vector3.Zero)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user