mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-01 02:12:04 +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
|
||||
|
||||
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()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue