Re: [Flightgear-devel] FG hangs on startup when nearby airport
On 10 Oct 2010, at 21:50, Martin Spott wrote: Indeed, commenting the if (globals-get_scenery[...] clause makes FlightGear skip the infinite loop. Thanks a lot for getting me started into investigations. For the purpose of Scenery development - and probably other, even more obscure tasks - having an option to pre-set the old behaviour via some command line flag would be much appreciated. When I *moved* this code, there was absolutely no intention to change the behaviour - the FDM has 'always' waited for scenery beneath the aircraft - for some value of 'always'. That was the behaviour when the code lived in main.cxx and it's the behaviour now. If it's changed, then something was subtlety broken in the old code, because the intention (from the code comments) was that it should wait, especially so JSBSim can do ground trimming. James -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] FG hangs on startup when nearby airport
Torsten Dreyer wrote: Here is the relevant code: from src/FDM/fdm_shell.cxx Indeed, commenting the if (globals-get_scenery[...] clause makes FlightGear skip the infinite loop. Thanks a lot for getting me started into investigations. For the purpose of Scenery development - and probably other, even more obscure tasks - having an option to pre-set the old behaviour via some command line flag would be much appreciated. Cheers, Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! -- -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
[Flightgear-devel] FG hangs on startup when nearby airport Scenery object is missing
Hi, let's think I'm taking a current version of FlightGear together with a current copy of the Base Package. Now I'll go editing the following file: Scenery/Terrain/w130n30/w123n37/942050.stg and I'm removing just the single line that contains OBJECT KSFO.btg, thus intentionally leaving a hole in the terrain. My '$HOME/.fgfsrc' looks like this: --prop:/sim/startup/save-on-exit=false --prop:/sim/paths/use-custom-scenery-data=false --prop:/sim/rendering/shadows/enabled=false --prop:/sim/rendering/shader-effects=false --prop:/sim/rendering/shader-experimental=false --prop:/sim/rendering/random-objects=false --prop:/sim/rendering/random-vegetation=false but setting an empty startup environment, no '.fgfsrc' or any other preferences at all doesn't make a difference. Finally, when I'm now starting 'fgfs', it'll hang forever at loading scenery objects. This issue has been introduced between 1.9.1 and 2.0.0 - anyone having a clever idea how this could be related / fixed ? I'm under the assumption that by setting the above preferences I already _do_ have disabled all those new features which might automagically interact with terrain surface. Or did I miss something relevant ? I'll probably have to start stepping through the changes between the forementioned releases but, as you might guess, I'd appreciate knowledgeable comments. Thanks, Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! -- -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel