]> git.mxchange.org Git - simgear.git/blobdiff - simgear/structure/SGBinding.cxx
temporarily remove listener (viewer) and source offsets. they mess things up
[simgear.git] / simgear / structure / SGBinding.cxx
index 0c3f7feb4eb384090366c135b8028594c9c854db..9e5fce06a5a3745a5e79dfa8b8b5bc2b5e42beaa 100644 (file)
@@ -7,9 +7,15 @@
  * $Id$
  */
 
+#ifdef HAVE_CONFIG_H
+#  include <simgear_config.h>
+#endif
+
 #include <simgear/compiler.h>
 #include "SGBinding.hxx"
 
+#include <simgear/math/SGMath.hxx>
+
 SGBinding::SGBinding()
   : _command(0),
     _arg(new SGPropertyNode),
@@ -42,7 +48,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);