1
0
Fork 0

Revert "Fixed taxiway drawing order. genapts wants them from top to bottom, not from bottom to top, as it was previously fed."

This reverts commit 5a6697b4e0b6e59a727868a912bff4c1fd8c91da.

Not genapts was at fault but the new TaxiDraw version (CVS HEAD). Robin Peel confirmed that the objects in apt.dat are listed top-down, i.e. the topmost element comes first.
This commit is contained in:
Ralf Gerlich 2008-04-14 09:18:07 +02:00
parent 101cae53ad
commit 4a96ed8af2

View file

@ -609,12 +609,12 @@ void build_airport( string airport_id, float alt_m,
}
#else
/* Ralf Gerlich: Generate Taxiways in specified order from bottom to top */
for ( size_t i=taxiways.size(); i>0; --i ) {
for ( size_t i=0; i<taxiways.size(); ++i ) {
SG_LOG( SG_GENERAL, SG_DEBUG, "generating " << i );
build_runway( taxiways[i-1], alt_m,
build_runway( taxiways[i], alt_m,
&rwy_polys, &texparams, &accum,
&apt_base, &apt_clearing );
taxiways[i-1].generated = true;
taxiways[i].generated = true;
}
#endif