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