cleanups
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1316 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -385,12 +385,6 @@ void automatableModel::linkModels( automatableModel * _model1,
|
||||
{
|
||||
_model1->linkModel( _model2 );
|
||||
_model2->linkModel( _model1 );
|
||||
|
||||
/* if( _model1->m_automationPattern != _model2->m_automationPattern )
|
||||
{
|
||||
delete _model2->m_automationPattern;
|
||||
_model2->m_automationPattern = _model1->m_automationPattern;
|
||||
}*/
|
||||
}
|
||||
|
||||
|
||||
@@ -401,13 +395,6 @@ void automatableModel::unlinkModels( automatableModel * _model1,
|
||||
{
|
||||
_model1->unlinkModel( _model2 );
|
||||
_model2->unlinkModel( _model1 );
|
||||
/*
|
||||
if( _model1->m_automationPattern && _model1->m_automationPattern
|
||||
== _model2->m_automationPattern )
|
||||
{
|
||||
_model2->m_automationPattern = new automationPattern(
|
||||
*_model1->m_automationPattern, _model2 );
|
||||
}*/
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user