Skip to content

Commit de76f6d

Browse files
Fabien Servantcbentejac
authored andcommitted
[qt6][Viewer] Fix zoom in 8bits viewer
1 parent 5c6a217 commit de76f6d

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
@@ -596,10 +596,13 @@ FocusScope {
596596
source: getImageFile()
597597
onStatusChanged: {
598598
// Update cache source when image is loaded
599+
imageStatus = status
599600
if (status === Image.Ready)
600601
qtImageViewerCache.source = source
601602
}
602603

604+
property var imageStatus: Image.Ready
605+
603606
// Image cache of the last loaded image
604607
// Only visible when the main one is loading, to maintain a displayed image for smoother transitions
605608
Image {

0 commit comments

Comments
 (0)