2
0
Fork 0

Fix auto-enable of _input processing when _input() method is set.

Since f3f4a11c processing of callbacks such as `_process`, `_fixed_process`, etc will be
automatically enabled when the corresponding method is found in the script.
However, for _input() this wasn't working.
That's simply because `_input` wasn't initialized in `SceneStringNames` ^^
3.0
Andreas Haas 2017-02-25 21:09:15 +07:00
parent a23e062c28
commit 373e0099cf
No known key found for this signature in database
GPG Key ID: B5FFAE1B65FBD2E1
1 changed files with 1 additions and 0 deletions

@ -115,6 +115,7 @@ SceneStringNames::SceneStringNames() {
_area_enter_tree = StaticCString::create("_area_enter_tree");
_area_exit_tree = StaticCString::create("_area_exit_tree");
_input = StaticCString::create("_input");
_input_event=StaticCString::create("_input_event");
gui_input=StaticCString::create("gui_input");