mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 00:04:56 +01:00
Revert previous ill-thought-out patch.
git-svn-id: svn://localhost/ardour2/branches/3.0@8213 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
f3fc6195bc
commit
56554af08f
11 changed files with 21 additions and 83 deletions
|
|
@ -1076,26 +1076,6 @@ Sequence<Time>::control_list_marked_dirty ()
|
|||
set_edited (true);
|
||||
}
|
||||
|
||||
template<typename Time>
|
||||
void
|
||||
Sequence<Time>::insert_silence_at_start (Time t)
|
||||
{
|
||||
for (typename Notes::iterator i = _notes.begin(); i != _notes.end(); ++i) {
|
||||
(*i)->set_time ((*i)->time() + t);
|
||||
}
|
||||
|
||||
for (typename SysExes::iterator i = _sysexes.begin (); i != _sysexes.end(); ++i) {
|
||||
(*i)->set_time ((*i)->time() + t);
|
||||
(*i)->set_original_time ((*i)->original_time() + t);
|
||||
}
|
||||
|
||||
for (typename Controls::iterator i = _controls.begin(); i != _controls.end(); ++i) {
|
||||
i->second->list()->shift (0, t);
|
||||
}
|
||||
|
||||
_edited = true;
|
||||
}
|
||||
|
||||
template class Sequence<Evoral::MusicalTime>;
|
||||
|
||||
} // namespace Evoral
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue