Skip to content
Snippets Groups Projects
Commit d9fa6494 authored by Hina Shah's avatar Hina Shah
Browse files

BUG: Fixing render window close call

parent 4a5e74d9
No related branches found
No related tags found
No related merge requests found
......@@ -134,6 +134,10 @@ VTKViewer::startRenderingLoop()
void
VTKViewer::endRenderingLoop()
{
// close the rendering window
m_vtkRenderWindow->Finalize();
// Terminate the interactor
m_vtkRenderWindow->GetInteractor()->TerminateApp();
}
......
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