From e79154cda770ce443f332ffdc95148e2292b1264 Mon Sep 17 00:00:00 2001 From: Valeriy Kamyshniy Date: Tue, 11 Nov 2014 19:04:56 +0200 Subject: [PATCH] [Summary] Change request from Igor --- gtk2_ardour/editor_tempodisplay.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk2_ardour/editor_tempodisplay.cc b/gtk2_ardour/editor_tempodisplay.cc index 9d702a9f3e..1044b83f60 100644 --- a/gtk2_ardour/editor_tempodisplay.cc +++ b/gtk2_ardour/editor_tempodisplay.cc @@ -171,6 +171,7 @@ void Editor::draw_measures (ARDOUR::TempoMap::BBTPointList::const_iterator& begin, ARDOUR::TempoMap::BBTPointList::const_iterator& end) { +#if defined(SUPPORT_SHOW_MEASURES) if (_session == 0 || _show_measures == false || distance (begin, end) == 0) { return; } @@ -180,6 +181,7 @@ Editor::draw_measures (ARDOUR::TempoMap::BBTPointList::const_iterator& begin, } tempo_lines->draw (begin, end); +#endif } void