From 49c00bd19bba0c1278f0e09c4c326e0f449e5bf9 Mon Sep 17 00:00:00 2001 From: Carter Anderson Date: Sat, 27 May 2017 04:17:05 -0500 Subject: [PATCH] Fix incorrect input event reference in editor_profiler.cpp --- editor/editor_profiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/editor_profiler.cpp b/editor/editor_profiler.cpp index d427126734d..5aad903485c 100644 --- a/editor/editor_profiler.cpp +++ b/editor/editor_profiler.cpp @@ -523,7 +523,7 @@ void EditorProfiler::_graph_tex_input(const Ref &p_ev) { hover_metric = -1; } - if (mb.is_valid() || mb->get_button_mask() & BUTTON_MASK_LEFT) { + if (mb.is_valid() || mm->get_button_mask() & BUTTON_MASK_LEFT) { //cursor_metric=x; updating_frame = true;