From aa728919c8dc53427dbfadaecc2210d30d5fe9f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Candice=20Bent=C3=A9jac?= Date: Wed, 21 Sep 2022 14:34:47 +0200 Subject: [PATCH] [core] Explicitly set "template" key to false when saving as a regular file --- meshroom/core/graph.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meshroom/core/graph.py b/meshroom/core/graph.py index 8b7e84878c..02c9d177e3 100644 --- a/meshroom/core/graph.py +++ b/meshroom/core/graph.py @@ -1200,9 +1200,10 @@ def save(self, filepath=None, setupProjectFile=True, template=False): for p in usedNodeTypes } + self.header["template"] = template + data = {} if template: - self.header["template"] = True data = { Graph.IO.Keys.Header: self.header, Graph.IO.Keys.Graph: self.getNonDefaultAttributes()