From c43ebccb7a129feb8d6ef004c99557264994cafd Mon Sep 17 00:00:00 2001 From: Christian Schmitt <chris@ilovelinux.de> Date: Wed, 28 Sep 2011 18:31:47 +0200 Subject: [PATCH] Lower the light nodes above the terrain. This needs to be tested --- src/Airports/GenAirports850/build.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Airports/GenAirports850/build.cxx b/src/Airports/GenAirports850/build.cxx index 3d6b9e98..54313158 100644 --- a/src/Airports/GenAirports850/build.cxx +++ b/src/Airports/GenAirports850/build.cxx @@ -422,6 +422,8 @@ void build_airport( string airport_id, float alt_m, SG_LOG( SG_GENERAL, SG_DEBUG, " dspth2= " << rwy.disp_thresh2); SG_LOG( SG_GENERAL, SG_DEBUG, " stop1 = " << rwy.stopway1); SG_LOG( SG_GENERAL, SG_DEBUG, " stop2 = " << rwy.stopway2); + SG_LOG( SG_GENERAL, SG_DEBUG, " edge = " << rwy.edge_lights); + SG_LOG( SG_GENERAL, SG_DEBUG, " center = " << rwy.centre_lights); } if (rwy.type == 102) /*Helipad*/{ @@ -1218,7 +1220,7 @@ void build_airport( string airport_id, float alt_m, // calculate light node elevations point_list geod_light_nodes - = calc_elevations( apt_surf, light_nodes.get_node_list(), 0.5 ); + = calc_elevations( apt_surf, light_nodes.get_node_list(), 0.0 ); TGPolygon p; p.add_contour( geod_light_nodes, 0 ); TGSuperPoly s;