13
0

remove a bunch of debug output

git-svn-id: svn://localhost/ardour2/branches/3.0@6472 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2010-01-09 14:40:25 +00:00
parent 8f1c6a5a4d
commit 935eba7979
3 changed files with 1 additions and 14 deletions

View File

@ -829,7 +829,6 @@ MidiTimeAxisView::create_automation_child (const Evoral::Parameter& param, bool
assert(c);
cerr << "Create new ATAV\n";
boost::shared_ptr<AutomationTimeAxisView> track(new AutomationTimeAxisView (_session,
_route, boost::shared_ptr<ARDOUR::Automatable>(), 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);
}

View File

@ -1536,7 +1536,6 @@ RouteTimeAxisView::use_playlist (boost::weak_ptr<Playlist> 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 {

View File

@ -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 ();
}