Zoom To Data Actions do not consider visibility of the selected source
The Zoom To Data actions ("Zoom To Data" or "Zoom Closest To Data") do not consider the visibility of the selected source (nor the visibility of its blocks). We should :
- Disable the buttons if the current source is not visible (ie. if the representation is not visible)
- Consider the visibility of the block of the selected source to zoom only on the visible bounding box
Edited by Mathieu Westphal (Kitware)