Skip to content

Why are there full viewport updates? #431

@JamesDeAntonis

Description

@JamesDeAntonis

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions