Skip to content

Commit

Permalink
Revert "Easing: fix undo bug #228"
Browse files Browse the repository at this point in the history
This reverts commit b471b7c.
  • Loading branch information
rodlie committed Aug 24, 2024
1 parent b471b7c commit 12cb8b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/Animators/qrealanimator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -294,13 +294,13 @@ void QrealAnimator::setExpressionAction(const qsptr<Expression> &expression) {

void QrealAnimator::setExpressionEasingAction(const qsptr<Expression> &expression)
{
/*{
{
prp_pushUndoRedoName("Change Easing");
UndoRedo ur;
ur.fUndo = [this]() { setExpression(nullptr); };
ur.fRedo = [this, expression]() { setExpression(expression); };
prp_addUndoRedo(ur);
}*/
}
setExpression(expression);
}

Expand Down

0 comments on commit 12cb8b5

Please sign in to comment.