mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-22 05:26:29 +02:00
[ui] handle multiple CameraInit nodes in a Reconstruction
* [ui] ImageGallery: add control to navigate image groups * [graph] expose Node.attribute as a Slot
This commit is contained in:
parent
1f0ed1f2c9
commit
273cfd9f0e
5 changed files with 220 additions and 122 deletions
|
@ -17,7 +17,7 @@ Item {
|
|||
id: root
|
||||
|
||||
property variant reconstruction: _reconstruction
|
||||
readonly property variant viewpoints: _reconstruction.viewpoints
|
||||
readonly property variant cameraInits: _reconstruction.cameraInits
|
||||
readonly property string meshFile: _reconstruction.meshFile
|
||||
property bool readOnly: false
|
||||
|
||||
|
@ -45,8 +45,12 @@ Item {
|
|||
Layout.fillHeight: true
|
||||
Layout.fillWidth: true
|
||||
Layout.minimumWidth: defaultCellSize
|
||||
model: viewpoints
|
||||
cameraInits: root.cameraInits
|
||||
cameraInit: _reconstruction.cameraInit
|
||||
currentIndex: reconstruction.cameraInitIndex
|
||||
onCurrentIndexChanged: reconstruction.cameraInitIndex = currentIndex
|
||||
onRemoveImageRequest: reconstruction.removeAttribute(attribute)
|
||||
onFilesDropped: reconstruction.handleFilesDrop(drop, cameraInit)
|
||||
}
|
||||
|
||||
Panel {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue