mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 21:12:53 +02:00
give the EntityTree a pointer to its PhysicsWorld
This commit is contained in:
parent
14f49df44d
commit
ebe24b5c4c
1 changed files with 1 additions and 0 deletions
|
@ -2012,6 +2012,7 @@ void Application::init() {
|
||||||
|
|
||||||
#ifdef USE_BULLET_PHYSICS
|
#ifdef USE_BULLET_PHYSICS
|
||||||
_physicsWorld.initSafe(_entities.getTree());
|
_physicsWorld.initSafe(_entities.getTree());
|
||||||
|
_entities.setPhysicsWorld(*_physicsWorld);
|
||||||
#endif // USE_BULLET_PHYSICS
|
#endif // USE_BULLET_PHYSICS
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue