diff options
author | Robert Adams | 2013-01-24 12:22:49 -0800 |
---|---|---|
committer | Robert Adams | 2013-01-24 14:35:05 -0800 |
commit | 3ecfddd791e7159723e4d9af89091e84a8f6f710 (patch) | |
tree | a60df98a3ae9a7f689129f5464ad094e37c78a4e /OpenSim | |
parent | Mantis 6508 llHTTPResponse body is incorrectly interpreted by IE (diff) | |
download | opensim-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')
-rw-r--r-- | OpenSim/Region/Physics/BulletSPlugin/BSScene.cs | 4 |
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 | } |