diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index b30c024..b3e6b67 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -2504,7 +2504,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2504 | 2504 | ||
2505 | if (pa != null && ParentID != 0 && ParentGroup != null) | 2505 | if (pa != null && ParentID != 0 && ParentGroup != null) |
2506 | { | 2506 | { |
2507 | // RA: Special case where a child object is requesting property updates. | 2507 | // Special case where a child object is requesting property updates. |
2508 | // This happens when linksets are modified to use flexible links rather than | 2508 | // This happens when linksets are modified to use flexible links rather than |
2509 | // the default links. | 2509 | // the default links. |
2510 | // The simulator code presumes that child parts are only modified by scripts | 2510 | // The simulator code presumes that child parts are only modified by scripts |
@@ -2518,8 +2518,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
2518 | Quaternion invRootRotation = Quaternion.Normalize(Quaternion.Inverse(ParentGroup.RootPart.RotationOffset)); | 2518 | Quaternion invRootRotation = Quaternion.Normalize(Quaternion.Inverse(ParentGroup.RootPart.RotationOffset)); |
2519 | m_offsetPosition = pa.Position - m_groupPosition; | 2519 | m_offsetPosition = pa.Position - m_groupPosition; |
2520 | RotationOffset = pa.Orientation * invRootRotation; | 2520 | RotationOffset = pa.Orientation * invRootRotation; |
2521 | m_log.DebugFormat("{0} PhysicsRequestingTerseUpdate child: pos={1}, rot={2}, offPos={3}, offRot={4}", | 2521 | // m_log.DebugFormat("{0} PhysicsRequestingTerseUpdate child: pos={1}, rot={2}, offPos={3}, offRot={4}", |
2522 | "[SCENE OBJECT PART]", pa.Position, pa.Orientation, m_offsetPosition, RotationOffset); | 2522 | // "[SCENE OBJECT PART]", pa.Position, pa.Orientation, m_offsetPosition, RotationOffset); |
2523 | } | 2523 | } |
2524 | 2524 | ||
2525 | ScheduleTerseUpdate(); | 2525 | ScheduleTerseUpdate(); |