Bug fix for potential crash when getting DebugDraw::instance

(cherry picked from commit b0ad9a8110)
This commit is contained in:
Anthony J. Thibault 2017-03-07 10:03:38 -08:00
parent 49efd8ad42
commit efc7fbacb1

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