yet another ripple reworking

This commit is contained in:
itsmattkc
2018-12-31 00:49:01 +11:00
parent 8d8e00c629
commit 48ba5a9c95
4 changed files with 43 additions and 12 deletions
+1 -10
View File
@@ -145,16 +145,7 @@ void Timeline::next_cut() {
}
void ripple_clips(ComboAction* ca, Sequence *s, long point, long length, const QVector<int>& ignore) {
for (int i=0;i<s->clips.size();i++) {
if (!ignore.contains(i)) {
Clip* c = s->clips.at(i);
if (c != NULL) {
if (c->timeline_in >= point) {
move_clip(ca, c, length, length, 0, 0, true, true);
}
}
}
}
ca->append(new RippleAction(s, point, length, ignore));
}
void Timeline::toggle_show_all() {