Patch from Martin Dressler to ensure that values as well as children
get written with write-all.
This commit is contained in:
parent
10715bbea7
commit
a2d95ac742
@ -442,7 +442,7 @@ writeNode (ostream &output, const SGPropertyNode * node,
|
||||
|
||||
// If there is a literal value,
|
||||
// write it first.
|
||||
if (node->hasValue() && node->getAttribute(SGPropertyNode::ARCHIVE)) {
|
||||
if (node->hasValue() && (write_all || node->getAttribute(SGPropertyNode::ARCHIVE))) {
|
||||
doIndent(output, indent);
|
||||
output << '<' << name;
|
||||
writeAtts(output, node);
|
||||
|
Loading…
Reference in New Issue
Block a user