isl-org / isl-org/Open3D

When a visualizer falls out of scope, ALL visualizer windows close

Open
#4,159 0 comments 0 reactions 0 assignees View on GitHub
legacy (Open3D 0.x API) visualization
Dominant language
C++
Stars
14k
Forks
2.6k
Avg merge
5d 18h
Merged PRs (30d)
6

Description

**Describe the bug**
On Windows, when a visualizer falls out of scope, it closes ALL visualizer windows

**To Reproduce**
Steps to reproduce the behavior:

```
import open3d as o3d

def get_vis():
vis = o3d.visualization.Visualizer()
vis.create_window(width=256,height=256,visible=True)
return vis

v = get_vis() #Opens a window
v = get_vis() #Briefly two windows open, then the first instance of v falls out of scope and its window AND the new window close
```

**Expected behavior**
I expect there to be one open visualizer window. However, there are 0.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.