Ingore unhandled top level elements instead of not loading the autopilot. This (re-)enables usage of <params> at top level and <property alias="../params/foo"/>
This commit is contained in:
parent
2b3e07cc5f
commit
50adab32c1
1 changed files with 4 additions and 4 deletions
|
@ -961,10 +961,10 @@ bool FGXMLAutopilot::build( SGPropertyNode_ptr config_props ) {
|
|||
components.push_back( new FGPredictor( node ) );
|
||||
} else if ( name == "filter" ) {
|
||||
components.push_back( new FGDigitalFilter( node ) );
|
||||
} else {
|
||||
SG_LOG( SG_ALL, SG_ALERT, "Unknown top level section: "
|
||||
<< name );
|
||||
return false;
|
||||
// } else {
|
||||
// SG_LOG( SG_ALL, SG_ALERT, "Unknown top level section: "
|
||||
// << name );
|
||||
// return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue