diff --git a/data/themes/default/pat_rec.png b/data/themes/default/pat_rec.png new file mode 100644 index 000000000..5c0ed9455 Binary files /dev/null and b/data/themes/default/pat_rec.png differ diff --git a/include/AutomatableModel.h b/include/AutomatableModel.h index 940ea9168..10ee252e9 100644 --- a/include/AutomatableModel.h +++ b/include/AutomatableModel.h @@ -133,16 +133,6 @@ public: float controllerValue( int frameOffset ) const; - // get value always in float - for automation recording - inline float getValue( int frameOffset = 0 ) const - { - if( unlikely( m_hasLinkedModels || m_controllerConnection != NULL ) ) - { - return controllerValue( frameOffset ); - } - return m_value; - } - template T initValue() const { diff --git a/src/core/AutomationPattern.cpp b/src/core/AutomationPattern.cpp index 188a2dd5f..37a6f7b27 100644 --- a/src/core/AutomationPattern.cpp +++ b/src/core/AutomationPattern.cpp @@ -493,7 +493,7 @@ void AutomationPattern::processMidiTime( const MidiTime & time ) { if( time >= 0 && hasAutomation() && ! m_objects.isEmpty() ) { - const float value = static_cast( firstObject()->getValue() ); + const float value = static_cast( firstObject()->value() ); if( value != m_lastRecordedValue ) { putValue( time, value, true );