fixed disabling keyframe bug

This commit is contained in:
itsmattkc
2019-01-05 14:29:21 +11:00
parent 4cc97d607f
commit 90181ea9c5
4 changed files with 24 additions and 4 deletions
+13
View File
@@ -1291,3 +1291,16 @@ void KeyframeFieldSet::redo() {
}
done = true;
}
SetKeyframing::SetKeyframing(EffectRow *irow, bool ib) :
row(irow),
b(ib)
{}
void SetKeyframing::undo() {
row->setKeyframing(!b);
}
void SetKeyframing::redo() {
row->setKeyframing(b);
}