Revert "Fixes for HUD, model-manager listeners."
This reverts commit 831053bd04
.
See if this fixes the problem deleting models which Denk reported.
This commit is contained in:
parent
05b2b6536b
commit
d05b934702
2 changed files with 0 additions and 6 deletions
|
@ -82,7 +82,6 @@ HUD::Input::Input(const SGPropertyNode *n, float factor, float offset,
|
|||
}
|
||||
|
||||
HUD::HUD() :
|
||||
SGPropertyChangeListener(true /* recursive */),
|
||||
_currentPath(fgGetNode("/sim/hud/current-path", true)),
|
||||
_currentColor(fgGetNode("/sim/hud/current-color", true)),
|
||||
_visibility(fgGetNode("/sim/hud/visibility[1]", true)),
|
||||
|
|
|
@ -277,11 +277,6 @@ FGModelMgr::Instance::~Instance ()
|
|||
void
|
||||
FGModelMgr::Listener::childAdded(SGPropertyNode * parent, SGPropertyNode * child)
|
||||
{
|
||||
if (!strcmp(parent->getName(), "models") && !strcmp(child->getName(), "model")) {
|
||||
child->addChangeListener(this);
|
||||
return;
|
||||
}
|
||||
|
||||
if (strcmp(parent->getName(), "model") || strcmp(child->getName(), "load"))
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue