diff --git a/meshroom/core/graph.py b/meshroom/core/graph.py index 8b7e8487..02c9d177 100644 --- a/meshroom/core/graph.py +++ b/meshroom/core/graph.py @@ -1200,9 +1200,10 @@ class Graph(BaseObject): 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()