mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-06 10:18:42 +02:00
[PanoramaViewer] zoom fix
This commit is contained in:
parent
05ded4a848
commit
48d118e4fe
1 changed files with 4 additions and 3 deletions
|
@ -230,6 +230,7 @@ FocusScope {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// qtAliceVision Panorama Viewer
|
||||||
Loader {
|
Loader {
|
||||||
id: panoramaViewerLoader
|
id: panoramaViewerLoader
|
||||||
active: root.aliceVisionPluginAvailable && root.usePanoramaImageViewer && !floatImageViewerLoader.active
|
active: root.aliceVisionPluginAvailable && root.usePanoramaImageViewer && !floatImageViewerLoader.active
|
||||||
|
@ -291,12 +292,12 @@ FocusScope {
|
||||||
|
|
||||||
property var image: {
|
property var image: {
|
||||||
//qtImageViewerLoader.active ? qtImageViewerLoader.item : floatImageViewerLoader.item
|
//qtImageViewerLoader.active ? qtImageViewerLoader.item : floatImageViewerLoader.item
|
||||||
if (qtImageViewerLoader.active)
|
|
||||||
qtImageViewerLoader.item
|
|
||||||
if (floatImageViewerLoader.active)
|
if (floatImageViewerLoader.active)
|
||||||
floatImageViewerLoader.item
|
floatImageViewerLoader.item
|
||||||
if (panoramaViewerLoader.active)
|
else if (panoramaViewerLoader.active)
|
||||||
panoramaViewerLoader.item
|
panoramaViewerLoader.item
|
||||||
|
else
|
||||||
|
qtImageViewerLoader.item
|
||||||
}
|
}
|
||||||
width: image ? image.width : 1
|
width: image ? image.width : 1
|
||||||
height: image ? image.height : 1
|
height: image ? image.height : 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue