I have a visualization.gui-based app, displaying a pointcloud in a SceneWidget. There is a key event callback registered so the user can manipulate the pointcloud, e.g. rotate by 90. The callback performs the requested action and does a remove_geometry()/add_geometry() on the pointcloud. All of that works fine.

The problem is that the SceneWidget does not update/re-render consistently: it seems to require some mouse motion to trigger display of the new state. The mouse on my desktop is sensitive enough that it generates enough small random motion to work about 80% of the time. With the laptop, not so much: it almost always fails to update until I wipe a finger across the touchpad.

I've tried all combinations of HANDLED/CONSUMED on the key event, plus force_update() on both the SceneWidget and the main window...no joy. Am I missing something obvious?

(Windows 11 Pro, open3d 0.19.0, Python 3.1, if it matters.)

Lee DeRaud's user avatar

New contributor

Lee DeRaud is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.