aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins/mesh_editor_plugin.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2017-01-08 16:28:12 -0300
committerJuan Linietsky2017-01-08 16:28:12 -0300
commit920947f297ff3b8d959d15c8e15e7a28dcbdb08f (patch)
tree160ca184a2d8ec1a43238d25e10ef198bdd6b5c8 /tools/editor/plugins/mesh_editor_plugin.cpp
parent0a59c3c3a6a8c13a5c82d59d9587fca31f900604 (diff)
downloadgodot-920947f297ff3b8d959d15c8e15e7a28dcbdb08f.tar.gz
godot-920947f297ff3b8d959d15c8e15e7a28dcbdb08f.tar.zst
godot-920947f297ff3b8d959d15c8e15e7a28dcbdb08f.zip
Diffstat (limited to 'tools/editor/plugins/mesh_editor_plugin.cpp')
-rw-r--r--tools/editor/plugins/mesh_editor_plugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/plugins/mesh_editor_plugin.cpp b/tools/editor/plugins/mesh_editor_plugin.cpp
index 13f3204a0..db96a6080 100644
--- a/tools/editor/plugins/mesh_editor_plugin.cpp
+++ b/tools/editor/plugins/mesh_editor_plugin.cpp
@@ -29,7 +29,7 @@
#include "mesh_editor_plugin.h"
#if 0
-void MeshEditor::_input_event(InputEvent p_event) {
+void MeshEditor::_gui_input(InputEvent p_event) {
if (p_event.type==InputEvent::MOUSE_MOTION && p_event.mouse_motion.button_mask&BUTTON_MASK_LEFT) {
@@ -136,7 +136,7 @@ void MeshEditor::_button_pressed(Node* p_button) {
void MeshEditor::_bind_methods() {
- ClassDB::bind_method(_MD("_input_event"),&MeshEditor::_input_event);
+ ClassDB::bind_method(_MD("_gui_input"),&MeshEditor::_gui_input);
ClassDB::bind_method(_MD("_button_pressed"),&MeshEditor::_button_pressed);
}