aboutsummaryrefslogtreecommitdiff
path: root/editor/plugins/path_editor_plugin.cpp
diff options
context:
space:
mode:
authorAndreas Haas2017-06-03 12:47:54 +0200
committerGitHub2017-06-03 12:47:54 +0200
commit69bec86028f87307e549d7a2f49bbb7e2b1f3771 (patch)
tree30316ffea9d6321c6b8292a02b6db3dac9cd1053 /editor/plugins/path_editor_plugin.cpp
parent5a6d4971e13157cc5f0de199de7f6d257070fc66 (diff)
parent9bc534896135322a578118f433f0dc6265839082 (diff)
downloadgodot-69bec86028f87307e549d7a2f49bbb7e2b1f3771.tar.gz
godot-69bec86028f87307e549d7a2f49bbb7e2b1f3771.tar.zst
godot-69bec86028f87307e549d7a2f49bbb7e2b1f3771.zip
Merge pull request #9031 from Hinsbart/inputevent_pos
InputEvent: Renamed "pos" property to "position"
Diffstat (limited to '')
-rw-r--r--editor/plugins/path_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/path_editor_plugin.cpp b/editor/plugins/path_editor_plugin.cpp
index 20535d796..877707d77 100644
--- a/editor/plugins/path_editor_plugin.cpp
+++ b/editor/plugins/path_editor_plugin.cpp
@@ -285,7 +285,7 @@ bool PathEditorPlugin::forward_spatial_gui_input(Camera *p_camera, const Ref<Inp
if (mb.is_valid()) {
- Point2 mbpos(mb->get_pos().x, mb->get_pos().y);
+ Point2 mbpos(mb->get_position().x, mb->get_position().y);
if (mb->is_pressed() && mb->get_button_index() == BUTTON_LEFT && (curve_create->is_pressed() || (curve_edit->is_pressed() && mb->get_control()))) {
//click into curve, break it down