Skip to content
Discussion options

You must be logged in to vote

Hi @lee-deraud,

That’s a very fair question — and you’re not missing anything in the docs.

In Open3D’s GUI layer, the only code that is reliably on the main thread is:

• Event callbacks you register on widgets (button clicks, sliders, menu items, etc.)
• The on_layout, on_draw, and similar window lifecycle callbacks
• Anything you explicitly dispatch via post_to_main_thread()

Everything else should be treated as potentially non-main-thread unless explicitly documented.

In particular:

• render_to_depth_image() is documented as threaded
• File dialog callbacks are indeed invoked from a worker thread
• Some async rendering / IO utilities may also not return on the UI thread

Unfortunately, th…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@lee-deraud
Comment options

@yashrajoria
Comment options

Answer selected by lee-deraud
@lee-deraud
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants