summaryrefslogtreecommitdiff
path: root/tools/editor/editor_node.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-02-13 15:46:17 +0100
committerGitHub <noreply@github.com>2017-02-13 15:46:17 +0100
commitea7e8c8e8699c0a0da0731f59a2ee5dfbf34d378 (patch)
tree65ed57ff55cadd49b881e248e2f87331ca5eee28 /tools/editor/editor_node.cpp
parentf6859fd31b5c3cc1a112b7f77b3c1783df8c8919 (diff)
parent411ee71b4d2dd4dfb3c137b057e0cfcdb55d6291 (diff)
Merge pull request #7795 from hpvb/rename-md-macro
Rename the _MD macro to D_METHOD
Diffstat (limited to 'tools/editor/editor_node.cpp')
-rw-r--r--tools/editor/editor_node.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp
index 9fac8dfbeb..da9138e5d9 100644
--- a/tools/editor/editor_node.cpp
+++ b/tools/editor/editor_node.cpp
@@ -5098,13 +5098,13 @@ void EditorNode::_bind_methods() {
-// ClassDB::bind_method(_MD("add_editor_import_plugin", "plugin"), &EditorNode::add_editor_import_plugin);
- //ClassDB::bind_method(_MD("remove_editor_import_plugin", "plugin"), &EditorNode::remove_editor_import_plugin);
- ClassDB::bind_method(_MD("get_gui_base"), &EditorNode::get_gui_base);
- ClassDB::bind_method(_MD("_bottom_panel_switch"), &EditorNode::_bottom_panel_switch);
+// ClassDB::bind_method(D_METHOD("add_editor_import_plugin", "plugin"), &EditorNode::add_editor_import_plugin);
+ //ClassDB::bind_method(D_METHOD("remove_editor_import_plugin", "plugin"), &EditorNode::remove_editor_import_plugin);
+ ClassDB::bind_method(D_METHOD("get_gui_base"), &EditorNode::get_gui_base);
+ ClassDB::bind_method(D_METHOD("_bottom_panel_switch"), &EditorNode::_bottom_panel_switch);
- ClassDB::bind_method(_MD("_open_imported"), &EditorNode::_open_imported);
- ClassDB::bind_method(_MD("_inherit_imported"), &EditorNode::_inherit_imported);
+ ClassDB::bind_method(D_METHOD("_open_imported"), &EditorNode::_open_imported);
+ ClassDB::bind_method(D_METHOD("_inherit_imported"), &EditorNode::_inherit_imported);
ADD_SIGNAL( MethodInfo("play_pressed") );
ADD_SIGNAL( MethodInfo("pause_pressed") );