diff options
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 | } |