From 589cd4fb596c8589e78c674a5f984f070bc59062 Mon Sep 17 00:00:00 2001 From: Dave French Date: Sun, 5 Apr 2015 13:42:09 +0100 Subject: [PATCH] Model::isValueChanged correctly returns if sample exactness is used. The introduction of sample exactness introduced a bug, if The value was changed using sample exactness Model::isValueChanged was incorectly returning false. This bug has shown its self in the BassBooster plugin. --- include/AutomatableModel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/AutomatableModel.h b/include/AutomatableModel.h index 57c2a6f0f..9f53c9451 100644 --- a/include/AutomatableModel.h +++ b/include/AutomatableModel.h @@ -255,7 +255,7 @@ public: // has to be accessed by more than one object, then this function shouldn't be used. bool isValueChanged() { - if( m_valueChanged ) + if( m_valueChanged || valueBuffer() ) { m_valueChanged = false; return true;