aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs
diff options
context:
space:
mode:
authorRobert Adams2013-01-24 12:22:49 -0800
committerRobert Adams2013-01-24 14:35:05 -0800
commit3ecfddd791e7159723e4d9af89091e84a8f6f710 (patch)
treea60df98a3ae9a7f689129f5464ad094e37c78a4e /OpenSim/Region/Physics/BulletSPlugin/BSScene.cs
parentMantis 6508 llHTTPResponse body is incorrectly interpreted by IE (diff)
downloadopensim-SC_OLD-3ecfddd791e7159723e4d9af89091e84a8f6f710.zip
opensim-SC_OLD-3ecfddd791e7159723e4d9af89091e84a8f6f710.tar.gz
opensim-SC_OLD-3ecfddd791e7159723e4d9af89091e84a8f6f710.tar.bz2
opensim-SC_OLD-3ecfddd791e7159723e4d9af89091e84a8f6f710.tar.xz
BulletSim: remove exception that can happen when setting physics parameters from the console.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSScene.cs')
-rw-r--r--OpenSim/Region/Physics/BulletSPlugin/BSScene.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs b/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs
index 35dba9b..cb304b6 100644
--- a/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs
@@ -917,8 +917,8 @@ public sealed class BSScene : PhysicsScene, IPhysicsParameters
917 foreach (uint lID in xlIDs) 917 foreach (uint lID in xlIDs)
918 { 918 {
919 BSPhysObject theObject = null; 919 BSPhysObject theObject = null;
920 PhysObjects.TryGetValue(lID, out theObject); 920 if (PhysObjects.TryGetValue(lID, out theObject))
921 thisParam.onObject(this, theObject, xval); 921 thisParam.onObject(this, theObject, xval);
922 } 922 }
923 } 923 }
924 } 924 }