especially now that the property path is shown in nasal error messages
FGPanelAction * action = new FGPanelAction(button, x, y, w, h, repeatable);
vector<SGPropertyNode_ptr>bindings = node->getChildren("binding");
- SGPropertyNode * dest = fgGetNode("/sim/bindings", true);
+ SGPropertyNode * dest = fgGetNode("/sim/bindings/panel", true);
SGPropertyNode *binding;
unsigned int i, j;
_liveObjects.push_back(po);
}
- SGPropertyNode * dest = fgGetNode("/sim/bindings", true);
+ SGPropertyNode * dest = fgGetNode("/sim/bindings/gui", true);
vector<SGPropertyNode_ptr> bindings = props->getChildren("binding");
if (bindings.size() > 0) {
GUIInfo * info = new GUIInfo(this);