Mixer: Fix meter falloff in chain view.
This commit is contained in:
parent
f2aeb8a1f8
commit
cda92589e9
|
@ -99,8 +99,12 @@ Meter_Module::update ( void )
|
||||||
for ( int i = dpm_pack->children(); i--; )
|
for ( int i = dpm_pack->children(); i--; )
|
||||||
{
|
{
|
||||||
DPM* o = ((DPM*)dpm_pack->child( i ));
|
DPM* o = ((DPM*)dpm_pack->child( i ));
|
||||||
|
|
||||||
|
const float v = CO_DB( control_value[i] );
|
||||||
|
|
||||||
o->value( CO_DB( control_value[i] ) );
|
if ( v > o->value() )
|
||||||
|
o->value( v );
|
||||||
|
|
||||||
o->update();
|
o->update();
|
||||||
|
|
||||||
control_value[i] = 0;
|
control_value[i] = 0;
|
||||||
|
|
Loading…
Reference in New Issue