From 8fe3d6c8e8450e8dbc93a2beb567b2af78457d75 Mon Sep 17 00:00:00 2001 From: Torsten Dreyer Date: Mon, 24 Jan 2011 19:41:56 +0100 Subject: [PATCH] Bugfix: reset transparency of non fog/mist/haze layers --- src/Environment/metarproperties.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Environment/metarproperties.cxx b/src/Environment/metarproperties.cxx index 6d8c1c51a..171d716af 100644 --- a/src/Environment/metarproperties.cxx +++ b/src/Environment/metarproperties.cxx @@ -374,6 +374,7 @@ void MetarProperties::set_metar( const char * metar ) -9999.0 : metarClouds[i].getAltitude_ft() + _station_elevation; + layerNode->setDoubleValue( "alpha", 1.0 ); layerNode->setStringValue( "coverage", coverage_string[coverage] ); layerNode->setDoubleValue( "coverage-type", SGCloudLayer::getCoverageType(coverage_string[coverage]) ); layerNode->setDoubleValue( "elevation-ft", elevation );