preview generator updates the appropriate ui when done

This commit is contained in:
itsmattkc
2019-02-17 23:46:39 -08:00
parent a63b4fbe52
commit 2bdafc72cb
4 changed files with 21 additions and 1 deletions
+12 -1
View File
@@ -64,7 +64,18 @@ long Sequence::getEndFrame() {
end = c->timeline_out;
}
}
return end;
return end;
}
void Sequence::RefreshClips(Media *m) {
for (int i=0;i<clips.size();i++) {
ClipPtr c = clips.at(i);
if (c != nullptr
&& (m == nullptr || c->media == m)) {
c->refresh();
}
}
}
void Sequence::getTrackLimits(int* video_tracks, int* audio_tracks) {