mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-01 15:58:36 +02:00
[ui] new generic way to manage "active" nodes per node type
This commit is contained in:
parent
ea5b639245
commit
ec67c772fa
12 changed files with 344 additions and 205 deletions
|
@ -65,7 +65,7 @@ Item {
|
|||
readOnly: root.readOnly
|
||||
cameraInits: root.cameraInits
|
||||
cameraInit: reconstruction.cameraInit
|
||||
hdrCameraInit: reconstruction.hdrCameraInit
|
||||
tempCameraInit: reconstruction.tempCameraInit
|
||||
currentIndex: reconstruction.cameraInitIndex
|
||||
onRemoveImageRequest: reconstruction.removeAttribute(attribute)
|
||||
onFilesDropped: reconstruction.handleFilesDrop(drop, augmentSfm ? null : cameraInit)
|
||||
|
@ -191,7 +191,7 @@ Item {
|
|||
mediaLibrary: viewer3D.library
|
||||
camera: viewer3D.mainCamera
|
||||
uigraph: reconstruction
|
||||
onNodeActivated: _reconstruction.setActiveNodeOfType(node)
|
||||
onNodeActivated: _reconstruction.setActiveNode(node)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue