mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Bug fix for potential crash when getting DebugDraw::instance
(cherry picked from commit b0ad9a8110
)
This commit is contained in:
parent
49efd8ad42
commit
efc7fbacb1
1 changed files with 2 additions and 0 deletions
|
@ -608,6 +608,8 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo
|
|||
}
|
||||
}
|
||||
|
||||
// make sure the debug draw singleton is initialized on the main thread.
|
||||
DebugDraw::getInstance().removeMarker("");
|
||||
|
||||
_runningMarker.startRunningMarker();
|
||||
|
||||
|
|
Loading…
Reference in a new issue