Skip to content

Commit fd1636c

Browse files
Fabien Servantcbentejac
authored andcommitted
[qt6][Viewer] Fix zoom in 8bits viewer
1 parent 9dbadaf commit fd1636c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

meshroom/ui/qml/Viewer/Viewer2D.qml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -599,10 +599,13 @@ FocusScope {
599599
source: getImageFile()
600600
onStatusChanged: {
601601
// Update cache source when image is loaded
602+
imageStatus = status
602603
if (status === Image.Ready)
603604
qtImageViewerCache.source = source
604605
}
605606

607+
property var imageStatus: Image.Ready
608+
606609
// Image cache of the last loaded image
607610
// Only visible when the main one is loading, to maintain a displayed image for smoother transitions
608611
Image {

0 commit comments

Comments
 (0)