From 9f622a2691dd5ecfcab40cf3935f595e3f86bf4d Mon Sep 17 00:00:00 2001 From: Yann Lanthony Date: Mon, 17 Feb 2025 22:02:54 +0100 Subject: [PATCH] Fix Meshroom UI CLI `latest` option Fix invalid use of `_recentProjectFiles` variable. --- meshroom/ui/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshroom/ui/app.py b/meshroom/ui/app.py index c9c7b5bd..40ba878e 100644 --- a/meshroom/ui/app.py +++ b/meshroom/ui/app.py @@ -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"])