mirror of
https://github.com/overte-org/overte.git
synced 2025-04-10 08:56:57 +02: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