diff options
author | Adam Frisby | 2008-05-01 16:23:53 +0000 |
---|---|---|
committer | Adam Frisby | 2008-05-01 16:23:53 +0000 |
commit | 01f31fd933bbaec246d2fef5756b7d83be7980e0 (patch) | |
tree | 45ce7727e83238bf492924bea3ff5f0b6c82acbc /OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs | |
parent | * In ur code. Making it static. (diff) | |
download | opensim-SC_OLD-01f31fd933bbaec246d2fef5756b7d83be7980e0.zip opensim-SC_OLD-01f31fd933bbaec246d2fef5756b7d83be7980e0.tar.gz opensim-SC_OLD-01f31fd933bbaec246d2fef5756b7d83be7980e0.tar.bz2 opensim-SC_OLD-01f31fd933bbaec246d2fef5756b7d83be7980e0.tar.xz |
* Breaking all the code, breaking all the code..!
* Made a bunch more members static, removed some dead code, general cleaning.
Diffstat (limited to 'OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs')
-rw-r--r-- | OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs b/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs index 40de537..f3b3a20 100644 --- a/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs +++ b/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs | |||
@@ -653,7 +653,7 @@ namespace OpenSim.Region.Physics.BulletXPlugin | |||
653 | GC.Collect(); | 653 | GC.Collect(); |
654 | } | 654 | } |
655 | 655 | ||
656 | internal void BulletXMessage(string message, bool isWarning) | 656 | internal static void BulletXMessage(string message, bool isWarning) |
657 | { | 657 | { |
658 | PhysicsPluginManager.PhysicsPluginMessage("[Modified BulletX]:\t" + message, isWarning); | 658 | PhysicsPluginManager.PhysicsPluginMessage("[Modified BulletX]:\t" + message, isWarning); |
659 | } | 659 | } |
@@ -1455,7 +1455,7 @@ namespace OpenSim.Region.Physics.BulletXPlugin | |||
1455 | } | 1455 | } |
1456 | catch (Exception ex) | 1456 | catch (Exception ex) |
1457 | { | 1457 | { |
1458 | _parent_scene.BulletXMessage(_parent_scene.is_ex_message + ex.Message, true); | 1458 | BulletXScene.BulletXMessage(_parent_scene.is_ex_message + ex.Message, true); |
1459 | rigidBody.ActivationState = ActivationState.DisableSimulation; | 1459 | rigidBody.ActivationState = ActivationState.DisableSimulation; |
1460 | _parent_scene.AddForgottenRigidBody(rigidBody); | 1460 | _parent_scene.AddForgottenRigidBody(rigidBody); |
1461 | } | 1461 | } |
@@ -1532,10 +1532,10 @@ namespace OpenSim.Region.Physics.BulletXPlugin | |||
1532 | } | 1532 | } |
1533 | catch (Exception ex) | 1533 | catch (Exception ex) |
1534 | { | 1534 | { |
1535 | _parentscene.BulletXMessage(ex.Message, true); | 1535 | BulletXScene.BulletXMessage(ex.Message, true); |
1536 | } | 1536 | } |
1537 | } | 1537 | } |
1538 | _parentscene.BulletXMessage("BulletXPlanet created.", false); | 1538 | BulletXScene.BulletXMessage("BulletXPlanet created.", false); |
1539 | } | 1539 | } |
1540 | 1540 | ||
1541 | internal float HeightValue(Vector3 position) | 1541 | internal float HeightValue(Vector3 position) |