Fix an assert with autopilot groups
(Missing call to the base class in bind())
This commit is contained in:
parent
e45c93dbc7
commit
aed59ea4bf
1 changed files with 2 additions and 0 deletions
|
@ -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 )
|
||||||
|
|
Loading…
Reference in a new issue