Make physics engines finish internal representation of loaded prims before starting simulation so it does start for all at same time. Currently only in use by ubOde

This commit is contained in:
UbitUmarov
2015-10-22 17:34:28 +01:00
parent 7aaa84515f
commit 7cb6ecb9f5
4 changed files with 13 additions and 6 deletions

View File

@@ -222,6 +222,12 @@ namespace OpenSim.Region.Framework.Scenes
return PhysicsScene.Simulate((float)elapsed);
}
protected internal void ProcessPhysicsPreSimulation()
{
if(PhysicsScene != null)
PhysicsScene.ProcessPreSimulation();
}
protected internal void UpdateScenePresenceMovement()
{
ForEachScenePresence(delegate(ScenePresence presence)