From 3cf8cb3c3ed84fea811f497089fd3c284de8ffe8 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 19 Jun 2015 08:29:05 -0400 Subject: [PATCH] fix call to consolidate image cache to use the information held in the request --- libs/canvas/wave_view.cc | 4 ++-- 1 file 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 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; }