From 935eba7979e05a4ec811ad082b3298ac87c919d2 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 9 Jan 2010 14:40:25 +0000 Subject: [PATCH] remove a bunch of debug output git-svn-id: svn://localhost/ardour2/branches/3.0@6472 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/midi_time_axis.cc | 2 -- gtk2_ardour/route_time_axis.cc | 4 ---- gtk2_ardour/time_axis_view.cc | 9 +-------- 3 files changed, 1 insertion(+), 14 deletions(-) diff --git a/gtk2_ardour/midi_time_axis.cc b/gtk2_ardour/midi_time_axis.cc index 66563c2220..0c8997059c 100644 --- a/gtk2_ardour/midi_time_axis.cc +++ b/gtk2_ardour/midi_time_axis.cc @@ -829,7 +829,6 @@ MidiTimeAxisView::create_automation_child (const Evoral::Parameter& param, bool assert(c); - cerr << "Create new ATAV\n"; boost::shared_ptr track(new AutomationTimeAxisView (_session, _route, boost::shared_ptr(), c, _editor, @@ -838,7 +837,6 @@ MidiTimeAxisView::create_automation_child (const Evoral::Parameter& param, bool parent_canvas, _route->describe_parameter(param))); - cerr << "Adding new automation child\n"; add_automation_child (param, track, show); } diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc index 8c27f8509b..826afc511c 100644 --- a/gtk2_ardour/route_time_axis.cc +++ b/gtk2_ardour/route_time_axis.cc @@ -1536,7 +1536,6 @@ RouteTimeAxisView::use_playlist (boost::weak_ptr wpl) if (route_group() && route_group()->is_active()) { - //PBD::stacktrace(cerr, 20); std::string group_string = "."+route_group()->name()+"."; std::string take_name = apl->name(); @@ -1623,12 +1622,9 @@ RouteTimeAxisView::color_handler () void RouteTimeAxisView::toggle_automation_track (const Evoral::Parameter& param) { - cerr << "CHANGE VISIBILITY OF " << param.type() << '/' << param.id() << '/' << (int) param.channel() << endl; - RouteAutomationNode* node = automation_track(param); if (!node) { - cerr << "\tNO EXISTING TRACK, create it\n"; /* add it */ create_automation_child (param, true); } else { diff --git a/gtk2_ardour/time_axis_view.cc b/gtk2_ardour/time_axis_view.cc index dba5e580fc..d17c1b8338 100644 --- a/gtk2_ardour/time_axis_view.cc +++ b/gtk2_ardour/time_axis_view.cc @@ -267,16 +267,11 @@ TimeAxisView::show_at (double y, int& nth, VBox *parent) /* now show children */ - cerr << name() << " has " << children.size() << " to show\n"; - for (Children::iterator i = children.begin(); i != children.end(); ++i) { if (canvas_item_visible ((*i)->_canvas_display)) { ++nth; _effective_height += (*i)->show_at (y + _effective_height, nth, parent); - cerr << "\tshowed " << (*i)->name() << " as " << nth << endl; - } else { - cerr << "\t" << (*i)->name() << " has an invisible canvas display\n"; - } + } } return _effective_height; @@ -288,11 +283,9 @@ TimeAxisView::clip_to_viewport () if (_marked_for_display) { if (_y_position + _effective_height < _editor.get_trackview_group_vertical_offset () || _y_position > _editor.get_trackview_group_vertical_offset () + _canvas_display->get_canvas()->get_height()) { _canvas_background->hide (); - cerr << "Clip hides canvas display for " << name() << endl; _canvas_display->hide (); return; } - cerr << "Clip shows canvas display for " << name() << endl; _canvas_background->show (); _canvas_display->show (); }