Merge pull request #8956 from mcanders/mcanders/ProfilerInputFix

Fix incorrect input event reference in editor_profiler.cpp
This commit is contained in:
Rémi Verschelde 2017-05-27 11:36:54 +02:00 committed by GitHub
commit d8381ef28f

View file

@ -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;