mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 19:41:20 +02:00
Bug fix for potential crash when getting DebugDraw::instance
This commit is contained in:
parent
6ea6477c73
commit
b0ad9a8110
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();
|
_runningMarker.startRunningMarker();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue