From ebe24b5c4c15d83847e51ec5a4272d6fe5b1ce77 Mon Sep 17 00:00:00 2001 From: Andrew Meadows Date: Thu, 13 Nov 2014 10:04:55 -0800 Subject: [PATCH] give the EntityTree a pointer to its PhysicsWorld --- interface/src/Application.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 50de20bbed..c084af9696 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -2012,6 +2012,7 @@ void Application::init() { #ifdef USE_BULLET_PHYSICS _physicsWorld.initSafe(_entities.getTree()); + _entities.setPhysicsWorld(*_physicsWorld); #endif // USE_BULLET_PHYSICS }