[Panorama Viewer] Change active conditions for Float Image Viewer

This commit is contained in:
Thomas Zorroche 2021-06-23 11:04:05 +02:00 committed by Fabien Castan
parent cfd03bb2c9
commit 843f147460
2 changed files with 17 additions and 16 deletions

View file

@ -252,7 +252,7 @@ FocusScope {
// qtAliceVision Image Viewer
Loader {
id: floatImageViewerLoader
active: root.aliceVisionPluginAvailable && (root.useFloatImageViewer || root.useLensDistortionViewer) && !panoramaViewerLoader.active && _reconstruction.activeNodes.get('sfm').node
active: root.aliceVisionPluginAvailable && (root.useFloatImageViewer || root.useLensDistortionViewer) && !panoramaViewerLoader.active
visible: (floatImageViewerLoader.status === Loader.Ready) && active
anchors.centerIn: parent