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

Reply via email to