mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-06 10:18:42 +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: {
|
onStatusChanged: {
|
||||||
if (isPanoViewer) {
|
if (viewerTypeString === "panorama") {
|
||||||
// Force to update the surface grid after a downscale change
|
// Force to update the surface grid after a downscale change
|
||||||
surface.rotateSurfaceRadians(0, 0)
|
surface.rotateSurfaceRadians(0, 0)
|
||||||
}
|
}
|
||||||
|
@ -124,13 +124,13 @@ AliceVision.FloatImageViewer {
|
||||||
x: 0
|
x: 0
|
||||||
y: 0
|
y: 0
|
||||||
color: "red"
|
color: "red"
|
||||||
visible: isDistoViewer && isPrincipalPointsDisplayed
|
visible: viewerTypeString === "distortion" && isPrincipalPointsDisplayed
|
||||||
}
|
}
|
||||||
|
|
||||||
Connections {
|
Connections {
|
||||||
target: root
|
target: root
|
||||||
onSfmChanged: {
|
onSfmChanged: {
|
||||||
if (isDistoViewer)
|
if (viewerTypeString === "distortion")
|
||||||
updatePrincipalPoint();
|
updatePrincipalPoint();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue