JacobBumgarner / VesselVio

An open-source application for the analysis and visualization of segmented vasculature datasets
https://jacobbumgarner.github.io/VesselVio/
GNU General Public License v3.0
99 stars 21 forks source link

Volume visualization checkboxes should be disabled when loading graphs #22

Closed JacobBumgarner closed 2 years ago

JacobBumgarner commented 2 years ago

Describe the bug The VisualizationDialog class needs to be updated to check to see if graphs are being loaded. If they are, disable the volume visualization checkboxes. At one point this was implemented, but must've been accidentally removed.

Simple fix!

Screenshots Volume visualization enabled

JacobBumgarner commented 2 years ago

Fixed in 1.1.2 dev update See library/ui/visualization_page.py lines 247-249

        if self.files.dataset_type == 'Graph':
            # Disable the volume loading buttons if we're loading a graph
            self.loadOriginal.setDisabled(True)
            self.loadSmoothed.setDisabled(True)