[Panorama Viewer] Fix principal point display

This commit is contained in:
Landrodie 2021-07-15 16:55:43 +02:00 committed by Fabien Castan
parent c6b2e2d01f
commit 4aa5151af3
3 changed files with 2 additions and 14 deletions

View file

@ -18,7 +18,6 @@ AliceVision.FloatImageViewer {
property var sfmData
onSfmDataChanged: {
console.warn("FLOAT IMG " + sfmData)
root.surface.msfmData = sfmData;
}
@ -127,13 +126,8 @@ AliceVision.FloatImageViewer {
y: 0
color: "red"
visible: viewerTypeString === "distortion" && isPrincipalPointsDisplayed
}
Connections {
target: root
onSfmChanged: {
if (viewerTypeString === "distortion")
updatePrincipalPoint();
onVisibleChanged: {
updatePrincipalPoint()
}
}
}