History

EntityTree gtts PhysicsWorld*, with less error

Andrew Meadows committed 12 years ago

Commit 7f46ac01 parent ebe24b51 file · +1 −1Browse files

Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all

Unified · Split

interface/src/Application.cpp+1−1
@@ -2012,7 +2012,7 @@ void Application::init() { · 2011 unmodified lines
20122012
20132013 #ifdef USE_BULLET_PHYSICS
20142014 _physicsWorld.initSafe(_entities.getTree());
2015− _entities.setPhysicsWorld(*_physicsWorld);
2015+ _entities.getTree()->setPhysicsWorld(&_physicsWorld);
20162016 #endif // USE_BULLET_PHYSICS
20172017 }
20182018

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t