aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-09-01 01:37:35 +0100
committerJustin Clark-Casey (justincc)2011-09-01 01:37:35 +0100
commit63bf71023772ea9c54687c5006fcf6649eb1139f (patch)
treed4d21757512d104df22423beb6d96c1d9cc105c0 /OpenSim/Region/Framework/Scenes
parentRemove pointless cluttering SOP.ParentGroup != null checks. (diff)
downloadopensim-SC_OLD-63bf71023772ea9c54687c5006fcf6649eb1139f.zip
opensim-SC_OLD-63bf71023772ea9c54687c5006fcf6649eb1139f.tar.gz
opensim-SC_OLD-63bf71023772ea9c54687c5006fcf6649eb1139f.tar.bz2
opensim-SC_OLD-63bf71023772ea9c54687c5006fcf6649eb1139f.tar.xz
Fix issue with llGetTorque() where it would only ever return a zero vector.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs9
1 files changed, 0 insertions, 9 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index 4e7504a..982c492 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -1536,15 +1536,6 @@ namespace OpenSim.Region.Framework.Scenes
1536 m_parentGroup.setAngularImpulse(impulse); 1536 m_parentGroup.setAngularImpulse(impulse);
1537 } 1537 }
1538 1538
1539 public Vector3 GetTorque()
1540 {
1541 if (m_parentGroup != null)
1542 {
1543 m_parentGroup.GetTorque();
1544 }
1545 return Vector3.Zero;
1546 }
1547
1548 /// <summary> 1539 /// <summary>
1549 /// Apply physics to this part. 1540 /// Apply physics to this part.
1550 /// </summary> 1541 /// </summary>