Skip to content

QVTKWidget: add ability to defer render in paintEvent

Calling iren->Render() in paint event is fraught with problems especially for applications that want to show progress when rendering is happening. Added a mode to QVTKWidget to allow deferring render requests in paintEvent so they happen on idle. This avoids recursive paint call errors due to updating progress bars to show progress of the render.

Merge request reports