* 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 -> few details,
..., 4 -> very *many* details):

  <dump>1</dump>

m.


-------------------------------------------------------
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 SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to