mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-29 18:27:23 +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
|
for p in usedNodeTypes
|
||||||
}
|
}
|
||||||
|
|
||||||
|
self.header["template"] = template
|
||||||
|
|
||||||
data = {}
|
data = {}
|
||||||
if template:
|
if template:
|
||||||
self.header["template"] = True
|
|
||||||
data = {
|
data = {
|
||||||
Graph.IO.Keys.Header: self.header,
|
Graph.IO.Keys.Header: self.header,
|
||||||
Graph.IO.Keys.Graph: self.getNonDefaultAttributes()
|
Graph.IO.Keys.Graph: self.getNonDefaultAttributes()
|
||||||
|
|
Loading…
Add table
Reference in a new issue