mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-02 00:08:29 +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 {
|
||||
id: panoramaViewerLoader
|
||||
active: root.aliceVisionPluginAvailable && root.usePanoramaImageViewer && !floatImageViewerLoader.active
|
||||
|
@ -291,12 +292,12 @@ FocusScope {
|
|||
|
||||
property var image: {
|
||||
//qtImageViewerLoader.active ? qtImageViewerLoader.item : floatImageViewerLoader.item
|
||||
if (qtImageViewerLoader.active)
|
||||
qtImageViewerLoader.item
|
||||
if (floatImageViewerLoader.active)
|
||||
floatImageViewerLoader.item
|
||||
if (panoramaViewerLoader.active)
|
||||
else if (panoramaViewerLoader.active)
|
||||
panoramaViewerLoader.item
|
||||
else
|
||||
qtImageViewerLoader.item
|
||||
}
|
||||
width: image ? image.width : 1
|
||||
height: image ? image.height : 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue