mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-18 03:26:30 +02:00
[Panorama Viewer] Fix principal point display
This commit is contained in:
parent
c6b2e2d01f
commit
4aa5151af3
3 changed files with 2 additions and 14 deletions
|
@ -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();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -130,7 +130,6 @@ AliceVision.PanoramaViewer {
|
||||||
}
|
}
|
||||||
|
|
||||||
onReleased: {
|
onReleased: {
|
||||||
console.warn(repeater.model)
|
|
||||||
if (isRotating)
|
if (isRotating)
|
||||||
{
|
{
|
||||||
// Update Euler angles
|
// Update Euler angles
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue