diff options
author | Melanie | 2012-04-03 23:13:48 +0200 |
---|---|---|
committer | Melanie | 2012-04-03 23:13:48 +0200 |
commit | 1c4bcf3fedbdb3c8143f364c43c939da810e896e (patch) | |
tree | 909343f4755aa120458462c4534b89d5ab9d959e /OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |
parent | Merge branch 'master' into careminster (diff) | |
download | opensim-SC-1c4bcf3fedbdb3c8143f364c43c939da810e896e.zip opensim-SC-1c4bcf3fedbdb3c8143f364c43c939da810e896e.tar.gz opensim-SC-1c4bcf3fedbdb3c8143f364c43c939da810e896e.tar.bz2 opensim-SC-1c4bcf3fedbdb3c8143f364c43c939da810e896e.tar.xz |
Fix merge artefacts
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 5b47fc0..ca6b5cb 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -2181,20 +2181,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
2181 | } | 2181 | } |
2182 | } | 2182 | } |
2183 | 2183 | ||
2184 | public void applyAngularImpulse(Vector3 impulse) | ||
2185 | { | ||
2186 | PhysicsActor pa = RootPart.PhysActor; | ||
2187 | |||
2188 | if (pa != null) | ||
2189 | { | ||
2190 | if (!IsAttachment) | ||
2191 | { | ||
2192 | pa.AddAngularForce(impulse, true); | ||
2193 | m_scene.PhysicsScene.AddPhysicsActorTaint(pa); | ||
2194 | } | ||
2195 | } | ||
2196 | } | ||
2197 | |||
2198 | public void setAngularImpulse(Vector3 impulse) | 2184 | public void setAngularImpulse(Vector3 impulse) |
2199 | { | 2185 | { |
2200 | PhysicsActor pa = RootPart.PhysActor; | 2186 | PhysicsActor pa = RootPart.PhysActor; |
@@ -2211,18 +2197,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2211 | 2197 | ||
2212 | public Vector3 GetTorque() | 2198 | public Vector3 GetTorque() |
2213 | { | 2199 | { |
2214 | PhysicsActor pa = RootPart.PhysActor; | 2200 | return Torque; |
2215 | |||
2216 | if (pa != null) | ||
2217 | { | ||
2218 | if (!IsAttachment) | ||
2219 | { | ||
2220 | Vector3 torque = pa.Torque; | ||
2221 | return torque; | ||
2222 | } | ||
2223 | } | ||
2224 | |||
2225 | return Vector3.Zero; | ||
2226 | } | 2201 | } |
2227 | 2202 | ||
2228 | // This is used by both Double-Click Auto-Pilot and llMoveToTarget() in an attached object | 2203 | // This is used by both Double-Click Auto-Pilot and llMoveToTarget() in an attached object |