aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/editor_profiler.cpp
diff options
context:
space:
mode:
authorHein-Pieter van Braam2017-02-13 12:47:24 +0100
committerHein-Pieter van Braam2017-02-13 12:50:02 +0100
commit411ee71b4d2dd4dfb3c137b057e0cfcdb55d6291 (patch)
treea3c28058efb7a80faed23bff683fe0931859ed52 /tools/editor/editor_profiler.cpp
parentbf64df4427836a4e7a5060ee11d75eea6da79b14 (diff)
downloadgodot-411ee71b4d2dd4dfb3c137b057e0cfcdb55d6291.tar.gz
godot-411ee71b4d2dd4dfb3c137b057e0cfcdb55d6291.tar.zst
godot-411ee71b4d2dd4dfb3c137b057e0cfcdb55d6291.zip
Rename the _MD macro to D_METHOD
This new name also makes its purpose a little clearer This is a step towards fixing #56
Diffstat (limited to 'tools/editor/editor_profiler.cpp')
-rw-r--r--tools/editor/editor_profiler.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/tools/editor/editor_profiler.cpp b/tools/editor/editor_profiler.cpp
index 94ec059ea..d9a417424 100644
--- a/tools/editor/editor_profiler.cpp
+++ b/tools/editor/editor_profiler.cpp
@@ -646,16 +646,16 @@ void EditorProfiler::_combo_changed(int) {
void EditorProfiler::_bind_methods() {
- ClassDB::bind_method(_MD("_update_frame"),&EditorProfiler::_update_frame);
- ClassDB::bind_method(_MD("_update_plot"),&EditorProfiler::_update_plot);
- ClassDB::bind_method(_MD("_activate_pressed"),&EditorProfiler::_activate_pressed);
- ClassDB::bind_method(_MD("_graph_tex_draw"),&EditorProfiler::_graph_tex_draw);
- ClassDB::bind_method(_MD("_graph_tex_input"),&EditorProfiler::_graph_tex_input);
- ClassDB::bind_method(_MD("_graph_tex_mouse_exit"),&EditorProfiler::_graph_tex_mouse_exit);
- ClassDB::bind_method(_MD("_cursor_metric_changed"),&EditorProfiler::_cursor_metric_changed);
- ClassDB::bind_method(_MD("_combo_changed"),&EditorProfiler::_combo_changed);
+ ClassDB::bind_method(D_METHOD("_update_frame"),&EditorProfiler::_update_frame);
+ ClassDB::bind_method(D_METHOD("_update_plot"),&EditorProfiler::_update_plot);
+ ClassDB::bind_method(D_METHOD("_activate_pressed"),&EditorProfiler::_activate_pressed);
+ ClassDB::bind_method(D_METHOD("_graph_tex_draw"),&EditorProfiler::_graph_tex_draw);
+ ClassDB::bind_method(D_METHOD("_graph_tex_input"),&EditorProfiler::_graph_tex_input);
+ ClassDB::bind_method(D_METHOD("_graph_tex_mouse_exit"),&EditorProfiler::_graph_tex_mouse_exit);
+ ClassDB::bind_method(D_METHOD("_cursor_metric_changed"),&EditorProfiler::_cursor_metric_changed);
+ ClassDB::bind_method(D_METHOD("_combo_changed"),&EditorProfiler::_combo_changed);
- ClassDB::bind_method(_MD("_item_edited"),&EditorProfiler::_item_edited);
+ ClassDB::bind_method(D_METHOD("_item_edited"),&EditorProfiler::_item_edited);
ADD_SIGNAL( MethodInfo("enable_profiling",PropertyInfo(Variant::BOOL,"enable")));
ADD_SIGNAL( MethodInfo("break_request"));