Skip to content

Commit

Permalink
Still trying to make update-timeline work...
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlamhauge committed Feb 20, 2024
1 parent 1894169 commit 399aa9c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/actioncommands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,8 @@ void ActionCommands::interpolateKeyframes()
keyframe = layer->getKeyFrameAt(i - 1);
KeyFrame* dupKey = keyframe->clone();
layer->addKeyFrame(i, dupKey);
mEditor->scrubTo(i);
emit mEditor->frameModified(i);
BitmapImage* image = layer->getBitmapImageAtFrame(i);
percent = counter / interpolations;
QRect transformer = QRect(upperLine.pointAt(percent).toPoint(),
Expand All @@ -712,7 +714,6 @@ void ActionCommands::interpolateKeyframes()
image->modification();
counter++;
layer->markFrameAsDirty(i);
mEditor->scrubTo(i);
}
emit mEditor->updateTimeLine();
emit mEditor->framesModified();
Expand Down

0 comments on commit 399aa9c

Please sign in to comment.