mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-28 17:57:16 +02:00
Merge pull request #2675 from alicevision/fix/cliRecentProjectFiles
Fix Meshroom App CLI `latest` option
This commit is contained in:
commit
550f685c07
1 changed files with 1 additions and 1 deletions
|
@ -303,7 +303,7 @@ class MeshroomApp(QApplication):
|
|||
self._activeProject.load(args.project)
|
||||
self.addRecentProjectFile(args.project)
|
||||
elif args.latest or args.latest2 or args.latest3:
|
||||
projects = self._recentProjectFiles()
|
||||
projects = self._recentProjectFiles
|
||||
if projects:
|
||||
index = [args.latest, args.latest2, args.latest3].index(True)
|
||||
project = os.path.abspath(projects[index]["path"])
|
||||
|
|
Loading…
Add table
Reference in a new issue