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:
parent
8f1c6a5a4d
commit
935eba7979
@ -829,7 +829,6 @@ MidiTimeAxisView::create_automation_child (const Evoral::Parameter& param, bool
|
|||||||
|
|
||||||
assert(c);
|
assert(c);
|
||||||
|
|
||||||
cerr << "Create new ATAV\n";
|
|
||||||
boost::shared_ptr<AutomationTimeAxisView> track(new AutomationTimeAxisView (_session,
|
boost::shared_ptr<AutomationTimeAxisView> track(new AutomationTimeAxisView (_session,
|
||||||
_route, boost::shared_ptr<ARDOUR::Automatable>(), c,
|
_route, boost::shared_ptr<ARDOUR::Automatable>(), c,
|
||||||
_editor,
|
_editor,
|
||||||
@ -838,7 +837,6 @@ MidiTimeAxisView::create_automation_child (const Evoral::Parameter& param, bool
|
|||||||
parent_canvas,
|
parent_canvas,
|
||||||
_route->describe_parameter(param)));
|
_route->describe_parameter(param)));
|
||||||
|
|
||||||
cerr << "Adding new automation child\n";
|
|
||||||
add_automation_child (param, track, show);
|
add_automation_child (param, track, show);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1536,7 +1536,6 @@ RouteTimeAxisView::use_playlist (boost::weak_ptr<Playlist> wpl)
|
|||||||
|
|
||||||
|
|
||||||
if (route_group() && route_group()->is_active()) {
|
if (route_group() && route_group()->is_active()) {
|
||||||
//PBD::stacktrace(cerr, 20);
|
|
||||||
std::string group_string = "."+route_group()->name()+".";
|
std::string group_string = "."+route_group()->name()+".";
|
||||||
|
|
||||||
std::string take_name = apl->name();
|
std::string take_name = apl->name();
|
||||||
@ -1623,12 +1622,9 @@ RouteTimeAxisView::color_handler ()
|
|||||||
void
|
void
|
||||||
RouteTimeAxisView::toggle_automation_track (const Evoral::Parameter& param)
|
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);
|
RouteAutomationNode* node = automation_track(param);
|
||||||
|
|
||||||
if (!node) {
|
if (!node) {
|
||||||
cerr << "\tNO EXISTING TRACK, create it\n";
|
|
||||||
/* add it */
|
/* add it */
|
||||||
create_automation_child (param, true);
|
create_automation_child (param, true);
|
||||||
} else {
|
} else {
|
||||||
|
@ -267,15 +267,10 @@ TimeAxisView::show_at (double y, int& nth, VBox *parent)
|
|||||||
|
|
||||||
/* now show children */
|
/* now show children */
|
||||||
|
|
||||||
cerr << name() << " has " << children.size() << " to show\n";
|
|
||||||
|
|
||||||
for (Children::iterator i = children.begin(); i != children.end(); ++i) {
|
for (Children::iterator i = children.begin(); i != children.end(); ++i) {
|
||||||
if (canvas_item_visible ((*i)->_canvas_display)) {
|
if (canvas_item_visible ((*i)->_canvas_display)) {
|
||||||
++nth;
|
++nth;
|
||||||
_effective_height += (*i)->show_at (y + _effective_height, nth, parent);
|
_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";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -288,11 +283,9 @@ TimeAxisView::clip_to_viewport ()
|
|||||||
if (_marked_for_display) {
|
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()) {
|
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 ();
|
_canvas_background->hide ();
|
||||||
cerr << "Clip hides canvas display for " << name() << endl;
|
|
||||||
_canvas_display->hide ();
|
_canvas_display->hide ();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
cerr << "Clip shows canvas display for " << name() << endl;
|
|
||||||
_canvas_background->show ();
|
_canvas_background->show ();
|
||||||
_canvas_display->show ();
|
_canvas_display->show ();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user