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

0.6.2-post-fixes
Teravus Ovares 2008-12-22 00:03:18 +00:00
parent 53a479904e
commit a973825db6
1 changed files with 1 additions and 1 deletions

View File

@ -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();