reimplemented loading/saving into transitions

This commit is contained in:
itsmattkc
2019-02-19 02:05:21 -08:00
parent a1619ce8ce
commit ee967294ea
6 changed files with 726 additions and 772 deletions
+5
View File
@@ -59,6 +59,11 @@ TransitionPtr Transition::copy(ClipPtr c, ClipPtr s) {
return create_transition(c, s, meta, length);
}
void Transition::save(QXmlStreamWriter &stream) {
stream.writeAttribute("length", QString::number(get_true_length()));
Effect::save(stream);
}
void Transition::set_length(long l) {
length = l;
length_field->set_double_value(l);