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

View file

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

View file

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