I did this as a stop gap until we can get master bat/alt and avionics
master switches on the panel, but yeah, starter[0] shouldn't be on by
default.

Curt.


David Megginson writes:
> The /controls/starter[0] property is being forced to true by the new
> electrical-system code, which automatically sets all switches on:
> 
>         } else if ( cname == "switch" ) {
>             // set default value of switch to true
>             // cout << "Switch = " << child->getStringValue() << endl;
>             fgSetBool( child->getStringValue(), true );
>             add_switch( fgGetNode( child->getStringValue(), true ) );
>         }
> 
> Instead, we should set the appropriate switches to 'on' in
> preferences.xml or c172-*-set.xml so that the user can override.  For
> the starter, a default to 'on' is clearly not what we want.
> 
> 
> All the best,
> 
> 
> David
> 
> -- 
> David Megginson, [EMAIL PROTECTED], http://www.megginson.com/
> 
> _______________________________________________
> Flightgear-devel mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel

-- 
Curtis Olson   IVLab / HumanFIRST Program       FlightGear Project
Twin Cities    [EMAIL PROTECTED]                  [EMAIL PROTECTED]
Minnesota      http://www.menet.umn.edu/~curt   http://www.flightgear.org

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

Reply via email to