From f66208136964ea4c3dab46a1af9e9e7135d2b7f7 Mon Sep 17 00:00:00 2001 From: Paul Giblock Date: Tue, 29 Apr 2008 04:09:46 +0000 Subject: [PATCH] revert accidently commited files git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@946 0778d3d1-df1d-0410-868b-ea421aaaa00d --- include/automatable_model.h | 14 -------------- src/gui/widgets/knob.cpp | 1 - 2 files changed, 15 deletions(-) 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();