13
0

more debugging

git-svn-id: svn://localhost/ardour2/trunk@1045 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2006-11-01 00:52:09 +00:00
parent e4e165d5ae
commit 7e209d06a1
2 changed files with 3 additions and 1 deletions

View File

@ -155,6 +155,8 @@ AudioRegionView::init (Gdk::Color& basic_color, bool wfd)
gain_line = new AudioRegionGainLine (foo, trackview.session(), *this, *group, audio_region()->envelope());
cerr << "Initializing RV for " << audio_region()->name() << " with " << audio_region()->envelope().size() << " points\n";
if (!(_flags & EnvelopeVisible)) {
gain_line->hide ();
} else {

View File

@ -744,7 +744,7 @@ AutomationLine::determine_visible_control_points (ALPoints& points)
*/
this_rx = (uint32_t) rint (tx);
this_ry = (unsigned long) rint (ty);
this_ry = (uint32_t) rint (ty);
if (view_index && pi != npoints && (this_rx == prev_rx) && (this_ry == prev_ry) ||
((this_rx - prev_rx) < (box_size + 2))) {