[Flightgear-devel] Re: A question about the mesh reordering animation

2006-02-18 Thread Melchior FRANZ
* Melchior FRANZ -- Sunday 19 February 2006 00:04: > Better make that an int: > > int m = props.getIntValue("dump", -1); > if (m >= 0) > model->print(stderr, "", m); And better make it go from 0 (off) to 5 (max detail): int m = props.getIntValue("dump", 0); if (m > 0) mode

Re: [Flightgear-devel] Re: A question about the mesh reordering animation

2006-02-18 Thread Josh Babcock
Melchior FRANZ wrote: Cool. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD S

[Flightgear-devel] Re: A question about the mesh reordering animation

2006-02-18 Thread Melchior FRANZ
* Melchior FRANZ -- Saturday 18 February 2006 23:38: > + if (props.getBoolValue("dump", false)) > +model->print(stderr, "", 1); Better make that an int: int m = props.getIntValue("dump", -1); if (m >= 0) model->print(stderr, "", m); Then use an int property (values -1 -> off, 0 ->

[Flightgear-devel] Re: A question about the mesh reordering animation

2006-02-18 Thread Melchior FRANZ
* Josh Babcock -- Saturday 18 February 2006 23:08: > Personally, I would like to see two tools added, one a function call to > export a visual representation of a subtree as text, Index: model.cxx === RCS file: /var/cvs/SimGear-0.3/S