diff --git a/src/Airports/GenAirports/build.cxx b/src/Airports/GenAirports/build.cxx index 9ae3f783..3821acb6 100644 --- a/src/Airports/GenAirports/build.cxx +++ b/src/Airports/GenAirports/build.cxx @@ -2026,5 +2026,5 @@ void build_airport( string airport_raw, string_list& runways_raw, string holepath = root + "/AirportArea"; // long int poly_index = poly_index_next(); // write_boundary( holepath, b, hull, poly_index ); - split_polygon( holepath, HoleArea, hull ); + split_polygon( holepath, HoleArea, divided_hull ); } diff --git a/src/Airports/GenAirports/process.pl b/src/Airports/GenAirports/process.pl index ead98493..6dfecddc 100755 --- a/src/Airports/GenAirports/process.pl +++ b/src/Airports/GenAirports/process.pl @@ -23,9 +23,8 @@ # Edit the following values to set up your preferences: -$workdir = "./work"; -# $inputfile = "./default.apt"; -$inputfile = "default.apt"; +$workdir = "/fgfs01/curt/Work"; +$inputfile = "./default.apt"; $binary = "./genapts"; $startid = ""; @@ -39,7 +38,7 @@ while ( ! $done ) { # update the nudge value $nudge += 5; - if ( $nudge > 20 ) { + if ( $nudge > 25 ) { $nudge = 5; } @@ -56,7 +55,7 @@ while ( ! $done ) { while ( ) { if ( m/Id portion/ ) { - print $_; + # print $_; } if ( m/\[FINISHED CORRECTLY\]/ ) {