diff options
author | Robert Adams | 2013-04-07 14:05:35 -0700 |
---|---|---|
committer | Robert Adams | 2013-04-08 06:27:44 -0700 |
commit | a7a1b8b7e9269b446e3396a35153b00942c1e35b (patch) | |
tree | df4c7041eb9a2819dd6e17aa2f95768a552f31e3 /OpenSim/Region/Physics/BulletSPlugin/BSActorSetTorque.cs | |
parent | BulletSim: complete movement of physical object action code out of the (diff) | |
download | opensim-SC_OLD-a7a1b8b7e9269b446e3396a35153b00942c1e35b.zip opensim-SC_OLD-a7a1b8b7e9269b446e3396a35153b00942c1e35b.tar.gz opensim-SC_OLD-a7a1b8b7e9269b446e3396a35153b00942c1e35b.tar.bz2 opensim-SC_OLD-a7a1b8b7e9269b446e3396a35153b00942c1e35b.tar.xz |
BulletSim: clean up actor code so routines use the same coding pattern.
Fix a few enabling problems.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSActorSetTorque.cs')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSActorSetTorque.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSActorSetTorque.cs b/OpenSim/Region/Physics/BulletSPlugin/BSActorSetTorque.cs index e0f719f..159a3a8 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSActorSetTorque.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSActorSetTorque.cs | |||
@@ -70,8 +70,8 @@ public class BSActorSetTorque : BSActor | |||
70 | // If not active any more, get rid of me (shouldn't ever happen, but just to be safe) | 70 | // If not active any more, get rid of me (shouldn't ever happen, but just to be safe) |
71 | if (m_controllingPrim.RawTorque == OMV.Vector3.Zero) | 71 | if (m_controllingPrim.RawTorque == OMV.Vector3.Zero) |
72 | { | 72 | { |
73 | m_physicsScene.DetailLog("{0},BSActorSetTorque,refresh,notSetTorque,removing={1}", m_controllingPrim.LocalID, ActorName); | 73 | m_physicsScene.DetailLog("{0},BSActorSetTorque,refresh,notSetTorque,disabling={1}", m_controllingPrim.LocalID, ActorName); |
74 | m_controllingPrim.PhysicalActors.RemoveAndRelease(ActorName); | 74 | Enabled = false; |
75 | return; | 75 | return; |
76 | } | 76 | } |
77 | 77 | ||