[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()
}
}
}

View file

@ -130,7 +130,6 @@ AliceVision.PanoramaViewer {
}
onReleased: {
console.warn(repeater.model)
if (isRotating)
{
// Update Euler angles

View file

@ -604,10 +604,6 @@ FocusScope {
return Filepath.stringToUrl(isComputed ? activeNode.attribute("output").value : "")
}
onFilepathChanged: {
console.warn("FILLLLLEPPPPATTHHHHH: " + filepath)
}
active: false
// It takes time to load tracks, so keep them looaded, if we may use it again.
// If we load another node, we can trash them (to eventually load the new node data).
@ -616,7 +612,6 @@ FocusScope {
{
active = true;
}
console.warn("ITEEEEMMMMMMMM" + item + " " + active)
}
onIsComputedChanged: {
if (usePanoramaViewer || useLensDistortionViewer)