BulletSim: remove exception that can happen when setting physics parameters from the console.
parent
71f7bfc2ff
commit
3ecfddd791
|
@ -917,7 +917,7 @@ public sealed class BSScene : PhysicsScene, IPhysicsParameters
|
|||
foreach (uint lID in xlIDs)
|
||||
{
|
||||
BSPhysObject theObject = null;
|
||||
PhysObjects.TryGetValue(lID, out theObject);
|
||||
if (PhysObjects.TryGetValue(lID, out theObject))
|
||||
thisParam.onObject(this, theObject, xval);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue