mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-22 05:26:29 +02:00
[Panorama Viewer] Fix crash on new pipeline action
This commit is contained in:
parent
cf6d821595
commit
f8a1e006dc
1 changed files with 3 additions and 2 deletions
|
@ -255,8 +255,8 @@ FocusScope {
|
|||
// qtAliceVision Panorama Viewer
|
||||
Loader {
|
||||
id: panoramaViewerLoader
|
||||
active: root.aliceVisionPluginAvailable && root.usePanoramaViewer && !floatImageViewerLoader.active
|
||||
visible: (panoramaViewerLoader.status === Loader.Ready)
|
||||
active: root.aliceVisionPluginAvailable && root.usePanoramaViewer && !floatImageViewerLoader.active && _reconstruction.activeNodes.get('sfm').node
|
||||
visible: (panoramaViewerLoader.status === Loader.Ready) && active
|
||||
anchors.centerIn: parent
|
||||
|
||||
onActiveChanged: {
|
||||
|
@ -272,6 +272,7 @@ FocusScope {
|
|||
} else {
|
||||
// Force the unload (instead of using Component.onCompleted to load it once and for all) is necessary since Qt 5.14
|
||||
setSource("", {})
|
||||
displayPanoramaViewer.checked = false;
|
||||
}
|
||||
}
|
||||
onLoaded: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue