David Megginson writes:
> 
> Norman Vine writes:
> 
>  > Curiously the commandline flag '--visibility=' still works but ....
>  > changing the property '/environment/visibility' in the RunTime Property 
>  > Tree Browser doesn't
> 
> The command-line --visibility option no longer sets
> /environment/visibility directly.

Hmm a cursory glance seems to indicate a fairly direct link, 
so calling something that effectively does the following

when key('z')
{
  fgDefaultWeatherValue ("visibility-m",  
                                         
fgGetDoubleValue("/environment/visibility")*0.9);
}

when key('Z')
{ 
  fgDefaultWeatherValue ("visibility-m", 
                                          
fgGetDoubleValue("/environment/visibility")*1.1);
}

Should do the deed :-)

Cheers

Norman

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to