Skip to content
Snippets Groups Projects
Commit 70d57b87 authored by Alexis Girault's avatar Alexis Girault
Browse files

BUG: fix VTK rendering when framerate not fixed

When the framerate was not fixed, the next render pass
would be called using `CreateOneShotTimer(0)` while its
parameter minimum value is 1 (in milliseconds). 0 would
set it up for the default value of 10 ms.
parent 969659fd
No related branches found
No related tags found
No related merge requests found
......@@ -73,7 +73,7 @@ VTKInteractorStyle::OnTimer()
}
else
{
this->Interactor->CreateOneShotTimer(0);
this->Interactor->CreateOneShotTimer(1);
}
// Timing info
......
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