There is something wierd about moving the cloud base around, let's just leave
it rooted in place until we sort out the positioning.
This commit is contained in:
parent
3b3102d7c8
commit
e23b22fabe
1 changed files with 5 additions and 5 deletions
|
@ -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() );
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue