Skip to content

Commit

Permalink
Rename InputFilter back to Input
Browse files Browse the repository at this point in the history
It changed name as part of the DisplayServer and input refactoring
in #37317, with the rationale that input no longer goes through the
main loop, so the previous Input singleton now only does filtering.

But the gains in consistency are quite limited in the renaming, and
it breaks compatibility for all scripts and tutorials that access
the Input singleton via the scripting language. A temporary option
was suggested to keep the scripting singleton named `Input` even if
its type is `InputFilter`, but that adds inconsistency and breaks C#.

Fixes godotengine/godot-proposals#639.
Fixes #37319.
Fixes #37690.
  • Loading branch information
akien-mga committed Apr 28, 2020
1 parent 49f1bec commit 991c762
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grid_map_editor_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
/*************************************************************************/

#include "grid_map_editor_plugin.h"
#include "core/input/input_filter.h"
#include "core/input/input.h"
#include "editor/editor_scale.h"
#include "editor/editor_settings.h"
#include "editor/plugins/node_3d_editor_plugin.h"
Expand Down

0 comments on commit 991c762

Please sign in to comment.