Thanks Melchior,
Your explaination makes me think it might be worthwhile revisiting FG099
this weekend and investigate commandline options a little more. does fgfs
have the same "--help" feature that so many other associated project have?
Kind Regards
=Dene
From: Melchior FRANZ <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: [Flightgear-devel] Re: How to correctly change material emission
using condi
Date: Thu, 23 Feb 2006 09:39:52 +0100
* dene maxwell -- Thursday 23 February 2006 05:47:
> Your comments would seem to say though, that something is being entered
> (into the FGv099 commad line) that causes an ABORT
Could be, but I wasn't talking about that, but about a wrong XML
statement. Roberto presumably used something like <red-prop>1.0</red-prop>.
But the "-prop" in the tag wants to say us that it expects a property path:
<red-prop>/path/to/a/number</red-prop>. And the material animation, like
all other animations, doesn't check the validity of the property path, but
hands it over to SimGear. SimGear checks, isn't happy, throws an exception,
and this should issue an error message and exit. If the exception is
unknown to main(), then it simply says:
Unknown exception in the main loop. Aborting...
and aborts. Some people say it "crashes". It doesn't. But I've changed that
now in fgfs so that it says at least:
Fatal error: name must begin with alpha or '_'
Someone with sg access may want to write a better fix for simgear
(replace string with an exception class).
> or am I simply miles off course? ;-)
No. Problems on the command line can potentially have the same
consequences.
But the range of possible causes is too big to concentrate on the command
line. Often, such unintelligent aborts are simply the result of a trivial
bug that isn't properly announced, because fgfs was linked with a badly
compiled (free)glut. A useful exception may then be "filtered" by glut, and
all you get is an abortion. At least a glut library from Linux/BSD/...
distributors should work correctly. I'd complain if it doesn't. (I
complained
about that from SuSE, and they promised to fix it. Haven't checked since
then.)
m.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel
_________________________________________________________________
Looking for love? Check out XtraMSN Personals
http://xtramsn.match.com/match/mt.cfm?pg=channel&tcid=200731
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel