From: curt Date: Sun, 22 Sep 2002 23:07:01 +0000 (+0000) Subject: There is something wierd about moving the cloud base around, let's just leave X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e23b22fabe54600475022fc7304b0cac1c932bc1;p=flightgear.git There is something wierd about moving the cloud base around, let's just leave it rooted in place until we sort out the positioning. --- diff --git a/src/Main/main.cxx b/src/Main/main.cxx index 0ff156bdf..455f0532e 100644 --- a/src/Main/main.cxx +++ b/src/Main/main.cxx @@ -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() ); }