1
0
Fork 0

Fix an assert with autopilot groups

(Missing call to the base class in bind())
This commit is contained in:
James Turner 2018-04-27 13:57:32 +01:00
parent e45c93dbc7
commit aed59ea4bf

View file

@ -192,11 +192,13 @@ void Autopilot::bind()
{ {
fgTie( _rootNode->getNode("serviceable", true)->getPath().c_str(), this, fgTie( _rootNode->getNode("serviceable", true)->getPath().c_str(), this,
&Autopilot::is_serviceable, &Autopilot::set_serviceable ); &Autopilot::is_serviceable, &Autopilot::set_serviceable );
SGSubsystemGroup::bind();
} }
void Autopilot::unbind() void Autopilot::unbind()
{ {
_rootNode->untie( "serviceable" ); _rootNode->untie( "serviceable" );
SGSubsystemGroup::unbind();
} }
void Autopilot::add_component( Component * component, double updateInterval ) void Autopilot::add_component( Component * component, double updateInterval )