Fix a mismerge that caused meter indicators not to be updated.
This commit is contained in:
parent
83e51b2f20
commit
7a702eefb8
|
@ -257,13 +257,15 @@ Meter_Indicator_Module::handle_control_changed ( Port *p )
|
|||
/**********/
|
||||
|
||||
void
|
||||
Meter_Indicator_Module::process ( void )
|
||||
Meter_Indicator_Module::process ( nframes_t )
|
||||
{
|
||||
if ( control_input[0].connected() )
|
||||
{
|
||||
Port *p = control_input[0].connected_port();
|
||||
|
||||
for ( int i = 0; i < p->hints.dimensions; ++i )
|
||||
{
|
||||
control_value[i] = ((float*)control_input[0].buffer())[i];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -58,16 +58,13 @@ public:
|
|||
|
||||
LOG_CREATE_FUNC( Meter_Indicator_Module );
|
||||
|
||||
void process ( nframes_t ) { }
|
||||
void process ( nframes_t );
|
||||
|
||||
protected:
|
||||
|
||||
void get ( Log_Entry &e ) const;
|
||||
void set ( Log_Entry &e );
|
||||
|
||||
// virtual void draw ( void );
|
||||
virtual void process ( void );
|
||||
|
||||
virtual void draw ( void )
|
||||
{
|
||||
draw_box();
|
||||
|
|
Loading…
Reference in New Issue