* Fixes edit linked parts rotating the root prim in a linkset. One more bug to go.. and that's editing multiple prim in a linkset at the same time. Don't try that now, as it'll bust the linkset.
parent
53a479904e
commit
a973825db6
|
@ -2751,7 +2751,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
axPos *= Quaternion.Inverse(axRot);
|
axPos *= Quaternion.Inverse(axRot);
|
||||||
prim.OffsetPosition = axPos;
|
prim.OffsetPosition = axPos;
|
||||||
Quaternion primsRot = prim.RotationOffset;
|
Quaternion primsRot = prim.RotationOffset;
|
||||||
Quaternion newRot = oldParentRot * primsRot;
|
Quaternion newRot = primsRot * oldParentRot;
|
||||||
newRot *= Quaternion.Inverse(axRot);
|
newRot *= Quaternion.Inverse(axRot);
|
||||||
prim.RotationOffset = newRot;
|
prim.RotationOffset = newRot;
|
||||||
prim.ScheduleTerseUpdate();
|
prim.ScheduleTerseUpdate();
|
||||||
|
|
Loading…
Reference in New Issue