Changeset 10316
- Timestamp:
- Mar 15, 2015, 3:22:18 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/Scene.cc
r10216 r10316 205 205 this->physicalWorld_->setGravity(multi_cast<btVector3>(this->gravity_)); 206 206 207 this->debugDrawer_ = new BulletDebugDrawer(this->sceneManager_); 208 this->physicalWorld_->setDebugDrawer(this->debugDrawer_); 207 if (GameMode::showsGraphics() && this->sceneManager_) 208 { 209 this->debugDrawer_ = new BulletDebugDrawer(this->sceneManager_); 210 this->physicalWorld_->setDebugDrawer(this->debugDrawer_); 211 } 209 212 210 213 // also set the collision callback variable.
Note: See TracChangeset
for help on using the changeset viewer.