diff options
Diffstat (limited to 'tools/editor/editor_profiler.cpp')
| -rw-r--r-- | tools/editor/editor_profiler.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tools/editor/editor_profiler.cpp b/tools/editor/editor_profiler.cpp index 94ec059ea7..d9a4174246 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(_MD("_item_edited"),&EditorProfiler::_item_edited); + 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(D_METHOD("_item_edited"),&EditorProfiler::_item_edited); ADD_SIGNAL( MethodInfo("enable_profiling",PropertyInfo(Variant::BOOL,"enable"))); ADD_SIGNAL( MethodInfo("break_request")); |