<div dir="ltr"><div>Hi all,</div><div><br></div><div>I was looking over calls to Render() in our application, trying to replace them with update() which I think is a "nicer" way of requesting a re-render (?).</div><div><br></div><div>But it seems to not be a drop-in replacements since it seems sometimes update() doesn't cause a re-render (not even when control returns to the event loop).</div><div><br></div><div>So then I looked again at the docs for QVTKOpenGLWidget, and they say:</div><div><br></div><div> "An alternative is to call update() on the widget instance to trigger a render once the context gets validated"</div><div><br></div><div>It was this that sort of guided me to try to use update() instead of Render().</div><div><br></div><div>But then I found e.g. this commit:<br></div><div><br></div><div> "<a href="https://gitlab.kitware.com/vtk/vtk/commit/4c77c46025e737ad66e0b797a759e73d81c9f240">https://gitlab.kitware.com/vtk/vtk/commit/4c77c46025e737ad66e0b797a759e73d81c9f240</a>"</div><div><br></div><div>The commit message says: "QVTKOpenGLWidget now relies on
VTK applications calling `Render` on the window when data or rendering
has changed.".</div><div><br></div><div>So now I'm a little confused: What is the correct way to request a re-render once control returns to the event loop? Or must we always call Render()?</div><div><br></div><div>I'm talking now about the QVTKOpenGLWidget that is in 8.1.1, not the new one that is in master (though I guess the best practice should be the same for the two?).</div><div><br></div><div>Many thanks in advance,</div><div>Elvis<br></div></div>