mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
BulletSim: remove exception that can happen when setting physics parameters from the console.
This commit is contained in:
@@ -917,8 +917,8 @@ public sealed class BSScene : PhysicsScene, IPhysicsParameters
|
||||
foreach (uint lID in xlIDs)
|
||||
{
|
||||
BSPhysObject theObject = null;
|
||||
PhysObjects.TryGetValue(lID, out theObject);
|
||||
thisParam.onObject(this, theObject, xval);
|
||||
if (PhysObjects.TryGetValue(lID, out theObject))
|
||||
thisParam.onObject(this, theObject, xval);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user