diff options
| author | Andreas Haas | 2017-02-25 21:09:15 +0100 |
|---|---|---|
| committer | Andreas Haas | 2017-02-25 21:12:26 +0100 |
| commit | 373e0099cf3bcee351c3a7b0052f896034d6f295 (patch) | |
| tree | 268e2594b10a19fed1f7060459ce58974328d017 /scene/scene_string_names.cpp | |
| parent | a23e062c281292b75083c71a0a1deb03cb57c788 (diff) | |
| download | godot-373e0099cf3bcee351c3a7b0052f896034d6f295.tar.gz godot-373e0099cf3bcee351c3a7b0052f896034d6f295.tar.zst godot-373e0099cf3bcee351c3a7b0052f896034d6f295.zip | |
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` ^^
Diffstat (limited to 'scene/scene_string_names.cpp')
| -rw-r--r-- | scene/scene_string_names.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/scene_string_names.cpp b/scene/scene_string_names.cpp index ffa35a93d..7d88e532c 100644 --- a/scene/scene_string_names.cpp +++ b/scene/scene_string_names.cpp @@ -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"); |
