diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-06-19 08:29:05 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-06-19 08:29:05 -0400 |
commit | 3cf8cb3c3ed84fea811f497089fd3c284de8ffe8 (patch) | |
tree | 00810b25f36fd18254f255fa0fbe8687faddee04 | |
parent | 9f0012aaaa50eba6606a2612e5c6ad828c4d40cf (diff) |
fix call to consolidate image cache to use the information held in the request
-rw-r--r-- | libs/canvas/wave_view.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/canvas/wave_view.cc b/libs/canvas/wave_view.cc index 0b0d4c1dfb..f27a98c883 100644 --- a/libs/canvas/wave_view.cc +++ b/libs/canvas/wave_view.cc @@ -735,8 +735,8 @@ WaveView::cache_request_result (boost::shared_ptr<WaveViewThreadRequest> req) co */ images->consolidate_image_cache (_region->audio_source (_channel), - _channel, _height, _region_amplitude * _amplitude_above_axis, - _fill_color, _samples_per_pixel); + req->channel, req->height, req->amplitude, + req->fill_color, req->samples_per_pixel); return ret; } |