Csaba HALASZ: set _arg even if there's no <command> (crash fix)

This commit is contained in:
mfranz
2009-01-26 18:01:48 +00:00
committed by Tim Moore
parent 1a8fd62680
commit ce2a6cfe5c

View File

@@ -42,7 +42,6 @@ SGBinding::read(const SGPropertyNode* node, SGPropertyNode* root)
if (_command_name.empty()) {
SG_LOG(SG_INPUT, SG_WARN, "No command supplied for binding.");
_command = 0;
return;
}
_arg = const_cast<SGPropertyNode*>(node);