Minor improvements to effect rack and controls
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@944 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -108,6 +108,9 @@ public:
|
||||
{
|
||||
if( m_controller != NULL )
|
||||
{
|
||||
/*return minValue() + castValue( m_range *
|
||||
m_equation->evaluate();*/
|
||||
|
||||
return minValue() + castValue( m_range *
|
||||
m_controller->currentValue( _frameOffset ) );
|
||||
}
|
||||
@@ -115,6 +118,17 @@ 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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user