diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2006-11-01 00:52:09 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2006-11-01 00:52:09 +0000 |
commit | 7e209d06a149feecd3feef0a63bce62c41559c56 (patch) | |
tree | 23bcdba911fd3ed7f6a2d86bc8f2f16dfd98f555 /gtk2_ardour | |
parent | e4e165d5ae804c11c11a37f2f4f164daa8272505 (diff) |
more debugging
git-svn-id: svn://localhost/ardour2/trunk@1045 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/audio_region_view.cc | 2 | ||||
-rw-r--r-- | gtk2_ardour/automation_line.cc | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/audio_region_view.cc b/gtk2_ardour/audio_region_view.cc index aaeea53878..d9cbfd01c3 100644 --- a/gtk2_ardour/audio_region_view.cc +++ b/gtk2_ardour/audio_region_view.cc @@ -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 { diff --git a/gtk2_ardour/automation_line.cc b/gtk2_ardour/automation_line.cc index 50f58b827c..65423c549f 100644 --- a/gtk2_ardour/automation_line.cc +++ b/gtk2_ardour/automation_line.cc @@ -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))) { |