prevent view through big hole in carrier deck
This commit is contained in:
parent
af653250b5
commit
ac2f7d1e4b
1 changed files with 1 additions and 1 deletions
|
@ -498,7 +498,7 @@ FGRenderer::update( bool refresh_camera_settings ) {
|
||||||
current_aircraft.fdm_state->get_Altitude() * SG_FEET_TO_METER
|
current_aircraft.fdm_state->get_Altitude() * SG_FEET_TO_METER
|
||||||
- cur_fdm_state->get_Runway_altitude_m();
|
- cur_fdm_state->get_Runway_altitude_m();
|
||||||
|
|
||||||
if ( agl > 10.0 ) {
|
if ( agl > 50.0 ) {
|
||||||
scene_nearplane = 10.0f;
|
scene_nearplane = 10.0f;
|
||||||
scene_farplane = 120000.0f;
|
scene_farplane = 120000.0f;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue