diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-09-10 18:45:12 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-09-10 18:45:12 +0000 |
commit | afcbba17f01347b7bc59f9cff6e081be7645d60a (patch) | |
tree | 2ded17e16b35bdd32476f4d4212e0d1c05d02ae8 /gtk2_ardour/audio_region_view.cc | |
parent | adfa5978d30f823e9cff0ae7bd555d734be55d18 (diff) |
WARNING WARNING WARNING >>>> DEEP CHANGES >>> EXPERIMENTAL CODE .... fixes to make region(views) pick up peakfile data asynchronously, like they used to in 0.99
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2444 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/audio_region_view.cc')
-rw-r--r-- | gtk2_ardour/audio_region_view.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk2_ardour/audio_region_view.cc b/gtk2_ardour/audio_region_view.cc index 4f7192e373..794f8dc34b 100644 --- a/gtk2_ardour/audio_region_view.cc +++ b/gtk2_ardour/audio_region_view.cc @@ -113,7 +113,7 @@ AudioRegionView::AudioRegionView (const AudioRegionView& other) UINT_TO_RGBA (other.fill_color, &r, &g, &b, &a); c.set_rgb_p (r/255.0, g/255.0, b/255.0); - init (c, false); + init (c, true); } void @@ -122,7 +122,7 @@ AudioRegionView::init (Gdk::Color& basic_color, bool wfd) // FIXME: Some redundancy here with RegionView::init. Need to figure out // where order is important and where it isn't... - RegionView::init(basic_color, false); + RegionView::init (basic_color, true); XMLNode *node; @@ -865,7 +865,6 @@ AudioRegionView::create_one_wave (uint32_t which, bool direct) /* all waves created, don't hook into peaks ready anymore */ data_ready_connection.disconnect (); - if(0) if (!zero_line) { zero_line = new ArdourCanvas::SimpleLine (*group); zero_line->property_x1() = (gdouble) 1.0; |