]> git.mxchange.org Git - simgear.git/blobdiff - simgear/environment/visual_enviro.cxx
Random object support from Stuart Buchanan
[simgear.git] / simgear / environment / visual_enviro.cxx
index 9371503e5b35f95af824b3ba869ef5b268ea491b..8142b3e54f295813c06605cb7723bb003edea04d 100644 (file)
@@ -332,8 +332,6 @@ void SGEnviro::setLight(sgVec4 adj_fog_color) {
 }
 
 void SGEnviro::callback_cloud(float heading, float alt, float radius, int family, float dist, int cloudId) {
-  // OSGFIXME
-  return;
        // send data to wx radar
        // compute turbulence
        // draw precipitation
@@ -405,6 +403,7 @@ void SGEnviro::callback_cloud(float heading, float alt, float radius, int family
                        LWC = 0.29*2.0;
                        break;
        }
+
        // add to the list for the wxRadar instrument
        if( LWC > 0.0 )
                radarEcho.push_back( SGWxRadarEcho ( heading, alt, radius, dist, LWC, false, cloudId ) );