git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1316 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-07-17 22:36:45 +00:00
parent 6c9f82c6f4
commit 0918f6d3f8

View File

@@ -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 );
}*/
}