From 9bc534896135322a578118f433f0dc6265839082 Mon Sep 17 00:00:00 2001 From: Andreas Haas Date: Sat, 3 Jun 2017 10:54:24 +0200 Subject: InputEvent: Renamed "pos" property to "position" Make the naming consistent with other classes. --- editor/plugins/path_editor_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor/plugins/path_editor_plugin.cpp') 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 Refget_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 -- cgit v1.2.3-70-g09d2