fix error on live reconstruction

This commit is contained in:
ChemicalXandco 2020-11-11 16:58:11 +00:00
parent e83bbb9b12
commit 68b9057619

View file

@ -111,7 +111,7 @@ class LiveSfmManager(QObject):
to include those images to the reconstruction.
"""
# Get all new images in the watched folder
imagesInFolder = multiview.findFilesByTypeInFolder(self._folder)
imagesInFolder = multiview.findFilesByTypeInFolder(self._folder).images
newImages = set(imagesInFolder).difference(self.allImages)
for imagePath in newImages:
# print('[LiveSfmManager] New image file : {}'.format(imagePath))