mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-29 10:17:27 +02:00
[core] Explicitly set "template" key to false when saving as a regular file
This commit is contained in:
parent
f9e5a5809c
commit
aa728919c8
1 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue