From 6cb4fbcf0afb760a3be3631f86cdb292a4ea1377 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 );