-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

sorry I didn't open a bug in the tracker for that. Normally I do but in 
this case, I'm not sure how to do write it.

When trying to get Thorsten's Sunrises 1.1 to run under FG2.6, I found 
out that there might be a problem with including files via --config.

I use my own ~/.fgfs/mypreferences.xml to set some properties like 
multitasking, my modifications to the fligh recorder and such because I 
use the OSBS repo with autoupdate which always breaks my changes in 
preferences.xml.

During my tinkering with Sunrises 1.1, I added the following for the 
<sim/> section:
<systems>
   <property-rule>
     <name>Local Weather Rules </name>
     <path>Environment/local-weather-rules.xml</path>
   </property-rule>
</systems>

This did activate the local weather rules but afterwards, there was no 
METAR being parsed any more. After testing, I found out that the 
property rules from preferences.xml

<property-rule>
   <name>Environment METAR Interpolation Rule</name>
   <path>Environment/metarinterpolator.xml</path>
</property-rule>
<property-rule>
   <name>Environment Interpolation Rule</name>
   <path>Environment/interpolator.xml</path>
</property-rule>

were not in the property tree. After some more testing, I feel confident 
to say that putting the local weather rule to mypreferences.xml broke 
the property rules from preferences.xml.

As far as I understand, files included with --config are to be merged in 
the property tree, hence I would classify the described behavior as a bug.

Tervehdys Suomesta / greetings from Finland,
Stefan

- -- 
Stefan Gofferje  | Web:      http://stefan.gofferje.net/
(sgofferj/OH-SW) | Projects: http://www.saakeskus.fi/
                 | Com1:     IAX2/k-tanco.louhen-sudet.fi/stefan
FG OSBS, Opensuse 12.1, GeForce GTX560, Phenom X4 3200, 8GB RAM
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)

iEYEARECAAYFAk9DqxAACgkQbQKZlCdPOMM/GACeINYPQXlpOx6iW9nP9TnQ/AsL
0vgAoKttVZpj8fFsl1n8UkNBNeyNZH6w
=/YL6
-----END PGP SIGNATURE-----


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to