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.
This commit is contained in:
Dave French
2015-04-05 13:42:09 +01:00
parent c87481ac81
commit 589cd4fb59

View File

@@ -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;