mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-04 01:08:26 +02:00
[Distortion Viewer] Switch between viewer modes
This commit is contained in:
parent
73c6e68d02
commit
57445a1f98
2 changed files with 13 additions and 3 deletions
|
@ -44,11 +44,12 @@ AliceVision.FloatImageViewer {
|
|||
property int pointsNumber: (subdivisions + 1) * (subdivisions + 1);
|
||||
|
||||
onIsDistoViewerChanged: {
|
||||
root.hasDistortion(distortion);
|
||||
root.hasDistortion(isDistoViewer);
|
||||
root.displayGrid(isDistoViewer && isGridDisplayed);
|
||||
}
|
||||
|
||||
onIsGridDisplayedChanged: {
|
||||
root.displayGrid()
|
||||
root.displayGrid(isGridDisplayed);
|
||||
}
|
||||
|
||||
onSubdivisionsChanged: {
|
||||
|
@ -155,7 +156,6 @@ AliceVision.FloatImageViewer {
|
|||
Repeater {
|
||||
id: repeater
|
||||
model: pointsNumber
|
||||
visible: false
|
||||
delegate: rectGrid
|
||||
function displayControlPoints() {
|
||||
for (let i = 0; i < model; i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue