Commit 84fd248f authored by Sreekanth Arikatla's avatar Sreekanth Arikatla
Browse files

REFAC: Move endSimualtion to destructor

parent fa7b5b9a
......@@ -186,7 +186,7 @@ VTKInteractorStyle::OnChar()
(key == 'q' || key == 'Q' || key == 'e' || key == 'E')) // end Simulation
{
m_fpsActor->VisibilityOff();
m_simManager->endSimulation();
//m_simManager->endSimulation();
}
else if (key == 'd' || key == 'D') // switch rendering mode
{
......
......@@ -59,7 +59,7 @@ public:
///
/// \brief Default destructor
///
~SimulationManager() = default;
~SimulationManager() { this->endSimulation(); };
///
/// \brief Returns the simulation status
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment