scenerygraphics / sciview

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

No way to re-add bounding grids after deleting #448

Closed kephale closed 1 year ago

kephale commented 1 year ago

When creating a volume it gets an initial bounding grid. If you delete it, there is no way in the UI to re-add the bounding grid.

To reproduce:

  1. Open T1 head in ImageJ
  2. In sciview: Edit > Add > Volume
  3. In the inspector, select the Volume's bounding grid and delete it
  4. There is no way in the UI to re-add the bounding grid.
  5. If you try to use: View > Toggle Bounding grid, then there is no effect

Ran into this when testing for https://github.com/scenerygraphics/sciview/issues/243

moreApi commented 1 year ago

I can reproduce the issue. Also "Toggle Bounding grid" is not doing anything for me even with an existing grid. What is supposed to do?

I would propose, to change "Toggle Bounding grid" to "Add Bounding grid" and for hinding the grid one can simply use the visibility checkbox on the grid.

moreApi commented 1 year ago

just checked the code. "toggle bounding grid" should add and remove a Bounding grid

kephale commented 1 year ago

@moreApi do you want to do it or shall I?

moreApi commented 1 year ago

I am currently looking into the volume visibility. Feel free to take it :)

moreApi commented 1 year ago

@kephale are you on it? I am free again and could tackle it.

kephale commented 1 year ago

Not right now, if you can grab it that would be awesome!