diff --git a/include/automatable_model.h b/include/automatable_model.h index 98f17f917..248b41e20 100644 --- a/include/automatable_model.h +++ b/include/automatable_model.h @@ -108,9 +108,6 @@ public: { if( m_controller != NULL ) { - /*return minValue() + castValue( m_range * - m_equation->evaluate();*/ - return minValue() + castValue( m_range * m_controller->currentValue( _frameOffset ) ); } @@ -118,17 +115,6 @@ public: return m_value; } - // TODO: Combine factory and equation? - /* - setMappingEquation( string eq ) - { - modelSymbolFactory factory( this ); - equationCompiler cmp( factory ); - - m_equation = cmp.compile( eq ); - } - */ - inline controller * getController( void ) const { diff --git a/src/gui/widgets/knob.cpp b/src/gui/widgets/knob.cpp index 182e48f59..4163d980a 100644 --- a/src/gui/widgets/knob.cpp +++ b/src/gui/widgets/knob.cpp @@ -597,7 +597,6 @@ void knob::connectToController( void ) void knob::friendlyUpdate( void ) { - //printf("%d v\n", controller::runningFrames() ); if( model()->getController() == NULL || controller::runningFrames() % (256*4) == 0 ) { update();