Browse Source

Fix incorrect input event reference in editor_profiler.cpp

Carter Anderson 8 years ago
parent
commit
49c00bd19b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/editor_profiler.cpp

+ 1 - 1
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;