scenerygraphics / sciview

sciview is a tool for visualization and interaction with ND image and mesh data
BSD 2-Clause "Simplified" License
64 stars 17 forks source link

Duplicate entries in tree view when making an existing node a child of another #504

Closed kephale closed 11 months ago

kephale commented 1 year ago

To reproduce:

  1. Create some shapes like spheres with SciView.addSphere
  2. Create another Node to use as a parent
  3. Loop over the spheres and use parent.addChild(sphere) on each sphere

The tree view now has duplicate entries for the spheres:

image
xulman commented 1 year ago

I confirm, the duplicity is actually easy to be achieved with the current API... possibly in more ways..

continuing this in PR #497

kephale commented 11 months ago

I believe this was completed with this PR https://github.com/scenerygraphics/sciview/issues/497