From 6f66fbbf730b93a53bf702977ba5cc2e52e08a70 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 31 Jan 2017 19:16:50 +0100 Subject: [PATCH] remove recently added MackieControl DEBUG_TRACE msgs --- libs/surfaces/mackie/mcp_buttons.cc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/libs/surfaces/mackie/mcp_buttons.cc b/libs/surfaces/mackie/mcp_buttons.cc index 53c462ca26..49aa690f02 100644 --- a/libs/surfaces/mackie/mcp_buttons.cc +++ b/libs/surfaces/mackie/mcp_buttons.cc @@ -424,8 +424,6 @@ MackieControlProtocol::timecode_beats_release (Button &) LedState MackieControlProtocol::marker_press (Button &) { - DEBUG_TRACE (DEBUG::MackieControl, "marker press\n"); - if (main_modifier_state() & MODIFIER_SHIFT) { access_action ("Common/remove-location-from-playhead"); return off; @@ -439,12 +437,9 @@ MackieControlProtocol::marker_press (Button &) LedState MackieControlProtocol::marker_release (Button &) { - DEBUG_TRACE (DEBUG::MackieControl, "marker release\n"); - _modifier_state &= ~MODIFIER_MARKER; if (main_modifier_state() & MODIFIER_SHIFT) { - DEBUG_TRACE (DEBUG::MackieControl, "shift was being held down, do nothing\n"); return off; //if shift was held, we already did the action } @@ -465,12 +460,10 @@ MackieControlProtocol::marker_release (Button &) framepos_t where = session->audible_frame(); if (session->transport_stopped() && session->locations()->mark_at (where, session->frame_rate() / 100.0)) { - DEBUG_TRACE (DEBUG::MackieControl, "transport stopped, marker already exists\n"); return off; } session->locations()->next_available_name (markername,"mark"); - DEBUG_TRACE (DEBUG::MackieControl, string_compose ("adding marker called %1\n", markername)); add_marker (markername); return off;