better ]shared transitions, dock tabs, effects panel name

This commit is contained in:
itsmattkc
2018-11-23 19:49:29 +11:00
parent 6ff379956c
commit 4a7abcdeaa
29 changed files with 171 additions and 146 deletions
+7
View File
@@ -22,6 +22,13 @@ int Transition::copy(Clip *c, Clip* s) {
return copy_index;
}
long Transition::get_length() {
if (secondary_clip != NULL) {
return length * 2;
}
return length;
}
Transition* get_transition_from_meta(Clip* c, Clip* s, const EffectMeta* em) {
if (!em->filename.isEmpty()) {
// load effect from file