mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 12:46:57 +02:00
EntityTree gtts PhysicsWorld*, with less error
This commit is contained in:
parent
ebe24b5c4c
commit
7f46ac0935
1 changed files with 1 additions and 1 deletions
|
@ -2012,7 +2012,7 @@ void Application::init() {
|
|||
|
||||
#ifdef USE_BULLET_PHYSICS
|
||||
_physicsWorld.initSafe(_entities.getTree());
|
||||
_entities.setPhysicsWorld(*_physicsWorld);
|
||||
_entities.getTree()->setPhysicsWorld(&_physicsWorld);
|
||||
#endif // USE_BULLET_PHYSICS
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue