Jim Wilson writes:
>
> Is there a way to copy a block of properties

#include <simgear/misc/props_io.hxx>
copyProperties (const SGPropertyNode *in, SGPropertyNode *out)

But AFAIK this requires that the 'out' nodes exist
i.e. this copies but does not construct the nodes

I think the easiest way to 'clone' a branch is to write
the branch out to a temp file then read the 'clone' in

Norman

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to