]> git.mxchange.org Git - simgear.git/commitdiff
Frederic: Also copy the attributes over to the new tree.
authorehofman <ehofman>
Tue, 28 Jun 2005 11:19:41 +0000 (11:19 +0000)
committerehofman <ehofman>
Tue, 28 Jun 2005 11:19:41 +0000 (11:19 +0000)
simgear/props/props_io.cxx

index 3d9d1ce38a9f9657bbde82bfbb1642155090eac9..a4fe5a16e4b62c54f17440dec2b8877a1ddf66ac 100644 (file)
@@ -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++) {