better transition handling

This commit is contained in:
itsmattkc
2018-08-08 16:01:59 +10:00
parent 34ae182614
commit afe87b97e5
4 changed files with 93 additions and 47 deletions
+3 -1
View File
@@ -11,5 +11,7 @@ void CrossDissolveTransition::process_transition(float progress) {
}
Transition* CrossDissolveTransition::copy() {
return new CrossDissolveTransition();
Transition* t = new CrossDissolveTransition();
t->length = length;
return t;
}