following c40f40, make insert/remove time apply to all markers
That is, since there is no "glued-to" concept any more, if markers are moving, then all markers are moving
This commit is contained in:
parent
5b038e488c
commit
0ffb9d6c8a
@ -8513,7 +8513,7 @@ Editor::insert_time (
|
||||
(*i)->split (pos);
|
||||
}
|
||||
|
||||
(*i)->shift (pos, samples, (opt == MoveIntersected), true);
|
||||
(*i)->shift (pos, samples, (opt == MoveIntersected), false);
|
||||
|
||||
vector<Command*> cmds;
|
||||
(*i)->rdiff (cmds);
|
||||
@ -8662,7 +8662,7 @@ Editor::remove_time (timepos_t const & pos, timecnt_t const & duration, InsertTi
|
||||
TimelineRange ar(pos, pos+duration, 0);
|
||||
rl.push_back(ar);
|
||||
pl->cut (rl);
|
||||
pl->shift (pos, -duration, true, true);
|
||||
pl->shift (pos, -duration, true, false);
|
||||
|
||||
XMLNode &after = pl->get_state();
|
||||
|
||||
@ -8689,7 +8689,6 @@ Editor::remove_time (timepos_t const & pos, timecnt_t const & duration, InsertTi
|
||||
Locations::LocationList copy (_session->locations()->list());
|
||||
|
||||
for (Locations::LocationList::iterator i = copy.begin(); i != copy.end(); ++i) {
|
||||
if ((*i)->position_time_domain() == Temporal::AudioTime) {
|
||||
|
||||
bool const was_locked = (*i)->locked ();
|
||||
if (locked_markers_too) {
|
||||
@ -8738,7 +8737,6 @@ Editor::remove_time (timepos_t const & pos, timecnt_t const & duration, InsertTi
|
||||
(*i)->lock ();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
for (list<Location*>::iterator i = loc_kill_list.begin(); i != loc_kill_list.end(); ++i) {
|
||||
_session->locations()->remove (*i);
|
||||
|
Loading…
Reference in New Issue
Block a user