From 8a60933e6dfb600149fe4605d8d157748170e040 Mon Sep 17 00:00:00 2001 From: kobewi Date: Thu, 16 Jun 2022 00:09:14 +0200 Subject: [PATCH] Fix NodePath property dragging --- editor/editor_properties.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/editor_properties.cpp b/editor/editor_properties.cpp index 2ac6735cf..0d3946bb0 100644 --- a/editor/editor_properties.cpp +++ b/editor/editor_properties.cpp @@ -2661,8 +2661,8 @@ void EditorPropertyNodePath::_bind_methods() { ClassDB::bind_method(D_METHOD("_node_selected"), &EditorPropertyNodePath::_node_selected); ClassDB::bind_method(D_METHOD("_node_assign"), &EditorPropertyNodePath::_node_assign); ClassDB::bind_method(D_METHOD("_node_clear"), &EditorPropertyNodePath::_node_clear); - ClassDB::bind_method(D_METHOD("_can_drop_data_fw", "position", "data", "from"), &EditorPropertyNodePath::can_drop_data_fw); - ClassDB::bind_method(D_METHOD("_drop_data_fw", "position", "data", "from"), &EditorPropertyNodePath::drop_data_fw); + ClassDB::bind_method(D_METHOD("can_drop_data_fw", "position", "data", "from"), &EditorPropertyNodePath::can_drop_data_fw); + ClassDB::bind_method(D_METHOD("drop_data_fw", "position", "data", "from"), &EditorPropertyNodePath::drop_data_fw); } EditorPropertyNodePath::EditorPropertyNodePath() {