summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-05-27 11:36:54 +0200
committerGitHub <noreply@github.com>2017-05-27 11:36:54 +0200
commitd8381ef28fda631e864c61d807500b31a9f5217d (patch)
tree00ce3092b23a6fb24d6492252ad1d90474831dec /editor
parent9130f0a89f2f8be0f9c2ef63b96957226f5e3c16 (diff)
parent49c00bd19bba0c1278f0e09c4c326e0f449e5bf9 (diff)
Merge pull request #8956 from mcanders/mcanders/ProfilerInputFix
Fix incorrect input event reference in editor_profiler.cpp
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_profiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_profiler.cpp b/editor/editor_profiler.cpp
index d427126734..5aad903485 100644
--- a/editor/editor_profiler.cpp
+++ b/editor/editor_profiler.cpp
@@ -523,7 +523,7 @@ void EditorProfiler::_graph_tex_input(const Ref<InputEvent> &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;