[Flightgear-devel] Re: scenery doesn't load after cvs update
* Curtis L. Olson -- Saturday 09 August 2003 04:53: Ooops I didn't catch that because I was explicitely specifying the scenery path. SHould now be fixed in cvs. It does still not work under Linux, because sgDirPathSepBad is still defined to be ':' and hence replaced by '/' in SGPath::fix(). I simply replaced ':' by '\\' to make it work. :-) m. Index: sg_path.cxx === RCS file: /var/cvs/SimGear-0.3/SimGear/simgear/misc/sg_path.cxx,v retrieving revision 1.6 diff -u -p -r1.6 sg_path.cxx --- sg_path.cxx 9 Aug 2003 02:54:15 - 1.6 +++ sg_path.cxx 9 Aug 2003 08:01:05 - @@ -40,7 +40,7 @@ static const char sgDirPathSep = ':'; static const char sgDirPathSepBad = '/'; #else static const char sgDirPathSep = '/'; -static const char sgDirPathSepBad = ':'; +static const char sgDirPathSepBad = '\\'; #endif #if defined( WIN32 ) ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] Re: scenery doesn't load after cvs update
Something is not making sense to me here. What are you using for your --fg-scenery= and --fg-root= options? Thanks, Curt. Melchior FRANZ writes: * Curtis L. Olson -- Saturday 09 August 2003 04:53: Ooops I didn't catch that because I was explicitely specifying the scenery path. SHould now be fixed in cvs. It does still not work under Linux, because sgDirPathSepBad is still defined to be ':' and hence replaced by '/' in SGPath::fix(). I simply replaced ':' by '\\' to make it work. :-) m. Index: sg_path.cxx === RCS file: /var/cvs/SimGear-0.3/SimGear/simgear/misc/sg_path.cxx,v retrieving revision 1.6 diff -u -p -r1.6 sg_path.cxx --- sg_path.cxx 9 Aug 2003 02:54:15 - 1.6 +++ sg_path.cxx 9 Aug 2003 08:01:05 - @@ -40,7 +40,7 @@ static const char sgDirPathSep = ':'; static const char sgDirPathSepBad = '/'; #else static const char sgDirPathSep = '/'; -static const char sgDirPathSepBad = ':'; +static const char sgDirPathSepBad = '\\'; #endif #if defined( WIN32 ) ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel -- Curtis Olson IVLab / HumanFIRST Program FlightGear Project Twin Citiescurt 'at' me.umn.edu curt 'at' flightgear.org Minnesota http://www.menet.umn.edu/~curt http://www.flightgear.org ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
[Flightgear-devel] Re: scenery doesn't load after cvs update
* Curtis L. Olson -- Saturday 09 August 2003 15:11: Something is not making sense to me here. What are you using for your --fg-scenery= and --fg-root= options? export FG_ROOT=/usr/local/share/flightgear export FG_SCENERY=/home/m/.fgfs/Scenery:$FG_ROOT/Scenery FGTileLoader::add() SGPath::set()s the path, and SGPath::set() calls SGPath::fix() on it. And this replaces sgDirPathSepBad (:) by sgDirPathSep (/). m. ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Re: [Flightgear-devel] Re: scenery doesn't load after cvs update
Ooops I didn't catch that because I was explicitely specifying the scenery path. SHould now be fixed in cvs. Thanks, Curt. Alex Romosan writes: Matevz Jekovec [EMAIL PROTECTED] writes: Yesterday's CVS works fine on my machine (except disappearing sound, but that's probably plib and new sound card issue). found the bug: diff -u -r1.2 FGTileLoader.cxx --- FGTileLoader.cxx8 Aug 2003 20:11:22 - 1.2 +++ FGTileLoader.cxx8 Aug 2003 22:43:47 - @@ -97,7 +97,7 @@ tmp.set( globals-get_fg_scenery() ); } else { tmp.set( globals-get_fg_root() ); - tile_path.append( Scenery ); + tmp.append( Scenery ); } tile_path = tmp.str(); beenhere = true; this is in src/Scenery. --alex-- -- | I believe the moment is at hand when, by a paranoiac and active | | advance of the mind, it will be possible (simultaneously with | | automatism and other passive states) to systematize confusion | | and thus to help to discredit completely the world of reality. | ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel -- Curtis Olson IVLab / HumanFIRST Program FlightGear Project Twin Citiescurt 'at' me.umn.edu curt 'at' flightgear.org Minnesota http://www.menet.umn.edu/~curt http://www.flightgear.org ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
[Flightgear-devel] Re: scenery doesn't load after cvs update
Matevz Jekovec [EMAIL PROTECTED] writes: Yesterday's CVS works fine on my machine (except disappearing sound, but that's probably plib and new sound card issue). found the bug: diff -u -r1.2 FGTileLoader.cxx --- FGTileLoader.cxx8 Aug 2003 20:11:22 - 1.2 +++ FGTileLoader.cxx8 Aug 2003 22:43:47 - @@ -97,7 +97,7 @@ tmp.set( globals-get_fg_scenery() ); } else { tmp.set( globals-get_fg_root() ); - tile_path.append( Scenery ); + tmp.append( Scenery ); } tile_path = tmp.str(); beenhere = true; this is in src/Scenery. --alex-- -- | I believe the moment is at hand when, by a paranoiac and active | | advance of the mind, it will be possible (simultaneously with | | automatism and other passive states) to systematize confusion | | and thus to help to discredit completely the world of reality. | ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel