Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all
Unified · Split
| @@ -2012,7 +2012,7 @@ void Application::init() { · 2011 unmodified lines | |||
| 2012 | 2012 | ||
| 2013 | #ifdef USE_BULLET_PHYSICS | 2013 | #ifdef USE_BULLET_PHYSICS |
| 2014 | _physicsWorld.initSafe(_entities.getTree()); | 2014 | _physicsWorld.initSafe(_entities.getTree()); |
| 2015 | _entities.setPhysicsWorld(*_physicsWorld); | 2015 | _entities.getTree()->setPhysicsWorld(&_physicsWorld); |
| 2016 | #endif // USE_BULLET_PHYSICS | 2016 | #endif // USE_BULLET_PHYSICS |
| 2017 | } | 2017 | } |
| 2018 | 2018 | ||