Skip to content

Commit

Permalink
[ui] sequence player: use viewer dimensions for maximum resolution in…
Browse files Browse the repository at this point in the history
… cache
  • Loading branch information
mugulmd committed Apr 19, 2023
1 parent 6401bb9 commit a98307f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion meshroom/ui/qml/Viewer/Viewer2D.qml
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,8 @@ FocusScope {
'canBeHovered': false,
'idView': Qt.binding(function() { return (_reconstruction ? _reconstruction.selectedViewId : -1); }),
'cropFisheye': false,
'sequence': Qt.binding(function() { return ((_reconstruction && _reconstruction.viewpoints) ? _reconstruction.allImagePaths() : []) })
'sequence': Qt.binding(function() { return ((_reconstruction && _reconstruction.viewpoints) ? _reconstruction.allImagePaths() : []) }),
'maxResolution': Qt.binding(function() { return Math.min(imgLayout.width, root.height); })
})
} else {
// Force the unload (instead of using Component.onCompleted to load it once and for all) is necessary since Qt 5.14
Expand Down

0 comments on commit a98307f

Please sign in to comment.