mirror of
https://github.com/LMMS/lmms.git
synced 2026-01-26 07:18:13 -05:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user