Bugfix: reset transparency of non fog/mist/haze layers
This commit is contained in:
parent
7f84bf5599
commit
8fe3d6c8e8
1 changed files with 1 additions and 0 deletions
|
@ -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 );
|
||||||
|
|
Loading…
Reference in a new issue