mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 08:23:53 +00:00
Update bullet debug drawer even when the game is paused so the collision mesh will show instantly even when the console is up
This commit is contained in:
parent
249fe9077b
commit
43d9f3d5c7
1 changed files with 2 additions and 2 deletions
|
@ -1442,8 +1442,6 @@ namespace MWWorld
|
|||
}
|
||||
if(player != results.end())
|
||||
moveObjectImp(player->first, player->second.x(), player->second.y(), player->second.z(), false);
|
||||
|
||||
mPhysics->debugDraw();
|
||||
}
|
||||
|
||||
bool World::castRay (float x1, float y1, float z1, float x2, float y2, float z2)
|
||||
|
@ -1617,6 +1615,8 @@ namespace MWWorld
|
|||
if (!paused)
|
||||
doPhysics (duration);
|
||||
|
||||
mPhysics->debugDraw();
|
||||
|
||||
mWorldScene->update (duration, paused);
|
||||
|
||||
updateWindowManager ();
|
||||
|
|
Loading…
Reference in a new issue