Bug fix for potential crash when getting DebugDraw::instance

This commit is contained in:
Anthony J. Thibault 2017-03-07 10:03:38 -08:00
parent 6ea6477c73
commit b0ad9a8110

View file

@ -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();