Skip to content

Commit

Permalink
Merge pull request commontk#798 from lassoan/fix-refresh-rate-computa…
Browse files Browse the repository at this point in the history
…tion

BUG: Fixed scheduleRender refresh rate computation in ctkVTKAbstractView
  • Loading branch information
finetjul authored Apr 17, 2018
2 parents 9dd4deb + 0a35aaa commit 773c7ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Libs/Visualization/VTK/Widgets/ctkVTKAbstractView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ void ctkVTKAbstractView::scheduleRender()
return;
}

double msecsBeforeRender = 100. / d->RenderWindow->GetDesiredUpdateRate();
double msecsBeforeRender = 1000. / d->RenderWindow->GetDesiredUpdateRate();
if(d->VTKWidget->testAttribute(Qt::WA_WState_InPaintEvent))
{
// If the request comes from the system (widget exposed, resized...), the
Expand Down

0 comments on commit 773c7ce

Please sign in to comment.