Effect plugins: don't set modified flag on control changes

Fixing a bit of a silly error made by me, all control changes on my effect plugins were flagging the project as modified, which is annoying with automations etc. So I'm disabling it. Maybe later we can have flagging only when knobs are modified manually.
This commit is contained in:
Vesa
2014-07-10 12:39:02 +03:00
parent 1b4ce136c9
commit a82bcb1759
3 changed files with 11 additions and 11 deletions

View File

@@ -45,7 +45,7 @@ dynProcControls::dynProcControls( dynProcEffect * _eff ) :
m_wavegraphModel( 0.0f, 1.0f, 200, this ),
m_stereomodeModel( 0, 0, 2, this, tr( "Stereo mode" ) )
{
connect( &m_inputModel, SIGNAL( dataChanged() ),
/* connect( &m_inputModel, SIGNAL( dataChanged() ),
this, SLOT( changeControl() ) );
connect( &m_outputModel, SIGNAL( dataChanged() ),
@@ -59,7 +59,7 @@ dynProcControls::dynProcControls( dynProcEffect * _eff ) :
connect( &m_stereomodeModel, SIGNAL( dataChanged() ),
this, SLOT( changeControl() ) );
*/
connect( &m_wavegraphModel, SIGNAL( samplesChanged( int, int ) ),
this, SLOT( samplesChanged( int, int ) ) );
@@ -72,7 +72,7 @@ dynProcControls::dynProcControls( dynProcEffect * _eff ) :
void dynProcControls::changeControl()
{
engine::getSong()->setModified();
// engine::getSong()->setModified();
}
void dynProcControls::samplesChanged( int _begin, int _end)