mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-02 10:52:03 +02:00
[ui] drag&drop: common behavior for graph editor and image gallery
In Image Gallery : - drop 1 .mg open the scene - drop images either create new camera or augment the reconstruction In Graph Editor : - drop 1 .mg open the scene - drop images create new camera at position of mouse
This commit is contained in:
parent
bb9661a141
commit
67fbf1b00f
5 changed files with 88 additions and 19 deletions
|
@ -80,7 +80,9 @@ Item {
|
|||
cameraInitIndex: reconstruction ? reconstruction.cameraInitIndex : -1
|
||||
onRemoveImageRequest: reconstruction.removeAttribute(attribute)
|
||||
onAllViewpointsCleared: { reconstruction.removeAllImages(); reconstruction.selectedViewId = "-1" }
|
||||
onFilesDropped: reconstruction.handleFilesDrop(drop, augmentSfm ? null : cameraInit)
|
||||
onFilesDropped: {
|
||||
reconstruction.handleFilesUrl(drop.urls, augmentSfm ? null : cameraInit)
|
||||
}
|
||||
}
|
||||
LiveSfmView {
|
||||
visible: settings_UILayout.showLiveReconstruction
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue