mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-31 09:56:32 +02:00
[ui] fix Live Reconstruction mode
* use Filepath to setup watched folder * consider whether mvs nodes were created when sending sfmAugmented signal
This commit is contained in:
parent
b9b9bca4ec
commit
80869879bb
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ Panel {
|
||||||
id: selectFolderDialog
|
id: selectFolderDialog
|
||||||
title: "Live Reconstruction - Select Image Folder"
|
title: "Live Reconstruction - Select Image Folder"
|
||||||
onAccepted: {
|
onAccepted: {
|
||||||
folderPath.text = folder.toLocaleString().replace("file://", "")
|
folderPath.text = Filepath.urlToString(folder)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -299,7 +299,7 @@ class Reconstruction(UIGraph):
|
||||||
with self.groupedGraphModification("SfM Augmentation"):
|
with self.groupedGraphModification("SfM Augmentation"):
|
||||||
sfm, mvs = multiview.sfmAugmentation(self, self.lastSfmNode(), withMVS=withMVS)
|
sfm, mvs = multiview.sfmAugmentation(self, self.lastSfmNode(), withMVS=withMVS)
|
||||||
|
|
||||||
self.sfmAugmented.emit(sfm[0], mvs[-1])
|
self.sfmAugmented.emit(sfm[0], mvs[-1] if mvs else sfm[-1])
|
||||||
return sfm[0], sfm[-1]
|
return sfm[0], sfm[-1]
|
||||||
|
|
||||||
def allImagePaths(self):
|
def allImagePaths(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue