aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 7eafef7..6c34056 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -4606,7 +4606,7 @@ namespace OpenSim.Region.Framework.Scenes
4606 { 4606 {
4607 case PhysicsJointType.Ball: 4607 case PhysicsJointType.Ball:
4608 { 4608 {
4609 PhysicsVector jointAnchor = PhysicsScene.GetJointAnchor(joint); 4609 Vector3 jointAnchor = PhysicsScene.GetJointAnchor(joint);
4610 Vector3 proxyPos = new Vector3(jointAnchor.X, jointAnchor.Y, jointAnchor.Z); 4610 Vector3 proxyPos = new Vector3(jointAnchor.X, jointAnchor.Y, jointAnchor.Z);
4611 jointProxyObject.ParentGroup.UpdateGroupPosition(proxyPos); // schedules the entire group for a terse update 4611 jointProxyObject.ParentGroup.UpdateGroupPosition(proxyPos); // schedules the entire group for a terse update
4612 } 4612 }
@@ -4614,7 +4614,7 @@ namespace OpenSim.Region.Framework.Scenes
4614 4614
4615 case PhysicsJointType.Hinge: 4615 case PhysicsJointType.Hinge:
4616 { 4616 {
4617 PhysicsVector jointAnchor = PhysicsScene.GetJointAnchor(joint); 4617 Vector3 jointAnchor = PhysicsScene.GetJointAnchor(joint);
4618 4618
4619 // Normally, we would just ask the physics scene to return the axis for the joint. 4619 // Normally, we would just ask the physics scene to return the axis for the joint.
4620 // Unfortunately, ODE sometimes returns <0,0,0> for the joint axis, which should 4620 // Unfortunately, ODE sometimes returns <0,0,0> for the joint axis, which should