mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-04 09:18:27 +02:00
[ui] 3D image overlay: use autoTransform to avoid shrinking when resizing viewer
This commit is contained in:
parent
a52aeabedb
commit
aea6eb19ab
2 changed files with 2 additions and 5 deletions
|
@ -55,6 +55,7 @@ Item {
|
|||
visible: false
|
||||
// Preserver aspect fit while display ratio is aligned with image ratio, crop otherwise
|
||||
fillMode: width/height >= imageRatio ? Image.PreserveAspectFit : Image.PreserveAspectCrop
|
||||
autoTransform: true
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -274,14 +274,10 @@ FocusScope {
|
|||
}
|
||||
|
||||
// Image overlay when navigating reconstructed cameras
|
||||
ExifOrientedViewer {
|
||||
Loader {
|
||||
id: imageOverlayLoader
|
||||
anchors.fill: parent
|
||||
|
||||
orientationTag: root.viewpoint ? root.viewpoint.orientation.toString() : "1"
|
||||
xOrigin: width * 0.5
|
||||
yOrigin: height * 0.5
|
||||
|
||||
active: doSyncViewpointCamera
|
||||
visible: Viewer3DSettings.showViewpointImageOverlay
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue