From a0398c45c014004f290fcf9c6d7d3428fa4f5c48 Mon Sep 17 00:00:00 2001 From: Yann Lanthony Date: Wed, 11 Dec 2024 14:10:43 +0100 Subject: [PATCH] [core] Graph: fix `Graph.load` missing return value Add missing return statement for the load function, used by the UI to determine whether the load was successful. --- meshroom/core/graph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshroom/core/graph.py b/meshroom/core/graph.py index 54f069fdd8..e63aceca1a 100644 --- a/meshroom/core/graph.py +++ b/meshroom/core/graph.py @@ -267,7 +267,7 @@ def load(self, filepath, setupProjectFile=True, importProject=False, publishOutp """ self._loading = True try: - self._load(filepath, setupProjectFile, importProject, publishOutputs) + return self._load(filepath, setupProjectFile, importProject, publishOutputs) finally: self._loading = False