aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorTeravus Ovares2008-12-22 00:03:18 +0000
committerTeravus Ovares2008-12-22 00:03:18 +0000
commita973825db6a22bc0f06098e09eddb239215842af (patch)
tree6ef24bc2bf91a220cbc9250f74276904a37f916b /OpenSim
parentMinor: fix a comment... scratch that,reverse it. (diff)
downloadopensim-SC-a973825db6a22bc0f06098e09eddb239215842af.zip
opensim-SC-a973825db6a22bc0f06098e09eddb239215842af.tar.gz
opensim-SC-a973825db6a22bc0f06098e09eddb239215842af.tar.bz2
opensim-SC-a973825db6a22bc0f06098e09eddb239215842af.tar.xz
* 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.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
index 36ba683..857f193 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
@@ -2751,7 +2751,7 @@ namespace OpenSim.Region.Environment.Scenes
2751 axPos *= Quaternion.Inverse(axRot); 2751 axPos *= Quaternion.Inverse(axRot);
2752 prim.OffsetPosition = axPos; 2752 prim.OffsetPosition = axPos;
2753 Quaternion primsRot = prim.RotationOffset; 2753 Quaternion primsRot = prim.RotationOffset;
2754 Quaternion newRot = oldParentRot * primsRot; 2754 Quaternion newRot = primsRot * oldParentRot;
2755 newRot *= Quaternion.Inverse(axRot); 2755 newRot *= Quaternion.Inverse(axRot);
2756 prim.RotationOffset = newRot; 2756 prim.RotationOffset = newRot;
2757 prim.ScheduleTerseUpdate(); 2757 prim.ScheduleTerseUpdate();