Skip to content

Commit

Permalink
[core] Explicitly set "template" key to false when saving as a regula…
Browse files Browse the repository at this point in the history
…r file
  • Loading branch information
cbentejac committed Sep 21, 2022
1 parent f9e5a58 commit 6f4eafb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions meshroom/core/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -1208,6 +1208,7 @@ def save(self, filepath=None, setupProjectFile=True, template=False):
Graph.IO.Keys.Graph: self.getNonDefaultAttributes()
}
else:
self.header["template"] = False
data = {
Graph.IO.Keys.Header: self.header,
Graph.IO.Keys.Graph: self.toDict()
Expand Down

0 comments on commit 6f4eafb

Please sign in to comment.