mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-02 00:08:29 +02:00
[Float Image Viewer] fix viewer condition issues due to last commit
This commit is contained in:
parent
b81e68523f
commit
7e1bff048c
1 changed files with 3 additions and 3 deletions
|
@ -30,7 +30,7 @@ AliceVision.FloatImageViewer {
|
|||
}
|
||||
|
||||
onStatusChanged: {
|
||||
if (isPanoViewer) {
|
||||
if (viewerTypeString === "panorama") {
|
||||
// Force to update the surface grid after a downscale change
|
||||
surface.rotateSurfaceRadians(0, 0)
|
||||
}
|
||||
|
@ -124,13 +124,13 @@ AliceVision.FloatImageViewer {
|
|||
x: 0
|
||||
y: 0
|
||||
color: "red"
|
||||
visible: isDistoViewer && isPrincipalPointsDisplayed
|
||||
visible: viewerTypeString === "distortion" && isPrincipalPointsDisplayed
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: root
|
||||
onSfmChanged: {
|
||||
if (isDistoViewer)
|
||||
if (viewerTypeString === "distortion")
|
||||
updatePrincipalPoint();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue