"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/core/AutomationPattern.cpp" between
lmms-1.2.0-rc7.tar.gz and lmms-1.2.0-rc8.tar.gz

About: LMMS (Linux MultiMedia Studio) is a sound generation system (creation of melodies and beats, synthesis and mixing of sounds, arranging of samples; full MIDI support). Release candidate.

AutomationPattern.cpp  (lmms-1.2.0-rc7):AutomationPattern.cpp  (lmms-1.2.0-rc8)
skipping to change at line 711 skipping to change at line 711
{ {
for( QVector<jo_id_t>::Iterator k = a->m_ idsToResolve.begin(); for( QVector<jo_id_t>::Iterator k = a->m_ idsToResolve.begin();
k != a->m _idsToResolve.end(); ++k ) k != a->m _idsToResolve.end(); ++k )
{ {
JournallingObject * o = Engine::p rojectJournal()-> JournallingObject * o = Engine::p rojectJournal()->
journallingObject( *k ); journallingObject( *k );
if( o && dynamic_cast<Automatable Model *>( o ) ) if( o && dynamic_cast<Automatable Model *>( o ) )
{ {
a->addObject( dynamic_cas t<AutomatableModel *>( o ), false ); a->addObject( dynamic_cas t<AutomatableModel *>( o ), false );
} }
else
{
// FIXME: Remove this blo
ck once the automation system gets fixed
// This is a temporary fi
x for https://github.com/LMMS/lmms/issues/3781
o = Engine::projectJourna
l()->journallingObject(ProjectJournal::idFromSave(*k));
if( o && dynamic_cast<Aut
omatableModel *>( o ) )
{
a->addObject( dyn
amic_cast<AutomatableModel *>( o ), false );
}
}
} }
a->m_idsToResolve.clear(); a->m_idsToResolve.clear();
a->dataChanged(); a->dataChanged();
} }
} }
} }
} }
} }
void AutomationPattern::clear() void AutomationPattern::clear()
 End of changes. 1 change blocks. 
0 lines changed or deleted 15 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)