From: ehofman Date: Tue, 28 Jun 2005 11:19:41 +0000 (+0000) Subject: Frederic: Also copy the attributes over to the new tree. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=81546820ab0d7efe8d01ec47c2970d1c53b10e2c;p=simgear.git Frederic: Also copy the attributes over to the new tree. --- diff --git a/simgear/props/props_io.cxx b/simgear/props/props_io.cxx index 3d9d1ce3..a4fe5a16 100644 --- a/simgear/props/props_io.cxx +++ b/simgear/props/props_io.cxx @@ -591,6 +591,9 @@ copyProperties (const SGPropertyNode *in, SGPropertyNode *out) } } + // copy the attributes. + out->setAttributes( in->getAttributes() ); + // Next, copy the children. int nChildren = in->nChildren(); for (int i = 0; i < nChildren; i++) {