X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Freverb%2Freverb.C;h=7d38fe5f5d9d3538857158c4d4dc81ca25c6e160;hb=90e3dcd76cd8661a02734830617d921741cfc39a;hp=4248a3cdc836ef7dfb7a7ecf52a247393b596f14;hpb=0e6cf5b52d1ebce9272270144bcf43df4683507e;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/plugins/reverb/reverb.C b/cinelerra-5.1/plugins/reverb/reverb.C index 4248a3cd..7d38fe5f 100644 --- a/cinelerra-5.1/plugins/reverb/reverb.C +++ b/cinelerra-5.1/plugins/reverb/reverb.C @@ -359,12 +359,12 @@ void Reverb::update_gui() ReverbWindow *window = (ReverbWindow *)thread->window; if( !window ) return; int reconfigured = load_configuration(); - int total_frames = pending_gui_frames(); - if( !reconfigured && !total_frames ) return; + int pending = pending_gui_frame(); + if( !reconfigured && !pending ) return; window->lock_window("Reverb::update_gui 1"); if( reconfigured ) window->update(); - if( total_frames ) + if( pending ) window->update_canvas(); window->unlock_window(); }