]> git.mxchange.org Git - flightgear.git/commitdiff
There is something wierd about moving the cloud base around, let's just leave
authorcurt <curt>
Sun, 22 Sep 2002 23:07:01 +0000 (23:07 +0000)
committercurt <curt>
Sun, 22 Sep 2002 23:07:01 +0000 (23:07 +0000)
it rooted in place until we sort out the positioning.

src/Main/main.cxx

index 0ff156bdf7031ff0c2228243552876253b2c223b..455f0532e3097049946881ded0e6c45862e89fe9 100644 (file)
@@ -501,11 +501,11 @@ void fgRenderFrame() {
             glEnable(GL_BLEND);
             glBlendFunc( GL_ONE, GL_ONE_MINUS_SRC_ALPHA ) ;
             posit =  globals->get_scenery()->get_center();
-            // if ( _bcloud_orig ) {
-            //    sgClouds3d->Set_Cloud_Orig( _posit );
-            //    _bcloud_orig = false;
-            // }
-            sgClouds3d->Set_Cloud_Orig(&(globals->get_scenery()->get_center()));
+            if ( _bcloud_orig ) {
+                sgClouds3d->Set_Cloud_Orig( _posit );
+                _bcloud_orig = false;
+            }
+            // sgClouds3d->Set_Cloud_Orig(&(globals->get_scenery()->get_center()));
             sgClouds3d->Update( current__view->get_absolute_view_pos() );
         }