Skip to content
Snippets Groups Projects
Commit 318ebfe7 authored by Sreekanth Arikatla's avatar Sreekanth Arikatla
Browse files

COMP: check if the simulator is launched before running

parent 0a473800
No related branches found
No related tags found
No related merge requests found
......@@ -450,6 +450,11 @@ SimulationManager::runSimulation()
LOG(INFO) << "Running simulation";
}
if (!m_simThreadLaunched)
{
this->launchSimulation();
}
// Run scene
m_sceneManagerMap.at(m_activeSceneName)->run();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment