1
0
Fork 0

Bugfix: reset transparency of non fog/mist/haze layers

This commit is contained in:
Torsten Dreyer 2011-01-24 19:41:56 +01:00
parent e64b382397
commit 6cb4fbcf0a

View file

@ -374,6 +374,7 @@ void MetarProperties::set_metar( const char * metar )
-9999.0 : -9999.0 :
metarClouds[i].getAltitude_ft() + _station_elevation; metarClouds[i].getAltitude_ft() + _station_elevation;
layerNode->setDoubleValue( "alpha", 1.0 );
layerNode->setStringValue( "coverage", coverage_string[coverage] ); layerNode->setStringValue( "coverage", coverage_string[coverage] );
layerNode->setDoubleValue( "coverage-type", SGCloudLayer::getCoverageType(coverage_string[coverage]) ); layerNode->setDoubleValue( "coverage-type", SGCloudLayer::getCoverageType(coverage_string[coverage]) );
layerNode->setDoubleValue( "elevation-ft", elevation ); layerNode->setDoubleValue( "elevation-ft", elevation );