NodeGraphQt icon indicating copy to clipboard operation
NodeGraphQt copied to clipboard

Why are there full viewport updates?

Open JamesDeAntonis opened this issue 1 year ago • 1 comments

I noticed here that you have

self.setViewportUpdateMode(QtWidgets.QGraphicsView.FullViewportUpdate)

is it dangerous to set bounding rect viewport update instead?

self.setViewportUpdateMode(QtWidgets.QGraphicsView.BoundingRectViewportUpdate)

When dragging nodes, I noticed the full updates cause like 70 (I think) unnecessary repaints on top of the expected path repaints. This was causing lagginess for me, especially when other animations are happening at the same time

JamesDeAntonis avatar Sep 05 '24 02:09 JamesDeAntonis

Thanks for catching the issue I'll make an update 😃.

jchanvfx avatar Oct 06 '24 22:10 jchanvfx