From 81546820ab0d7efe8d01ec47c2970d1c53b10e2c Mon Sep 17 00:00:00 2001 From: ehofman Date: Tue, 28 Jun 2005 11:19:41 +0000 Subject: [PATCH] Frederic: Also copy the attributes over to the new tree. --- simgear/props/props_io.cxx | 3 +++ 1 file changed, 3 insertions(+) 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++) { -- 2.39.5