From 12cb8b52e7df0a4ff7f225d42aa97389c1f1ed1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole-Andr=C3=A9=20Rodlie?= Date: Sat, 24 Aug 2024 16:09:58 +0200 Subject: [PATCH] Revert "Easing: fix undo bug #228" This reverts commit b471b7c79aa34df00cf138d39edf5e5bbba64fb7. --- src/core/Animators/qrealanimator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/Animators/qrealanimator.cpp b/src/core/Animators/qrealanimator.cpp index 862b0931b..87321d955 100644 --- a/src/core/Animators/qrealanimator.cpp +++ b/src/core/Animators/qrealanimator.cpp @@ -294,13 +294,13 @@ void QrealAnimator::setExpressionAction(const qsptr &expression) { void QrealAnimator::setExpressionEasingAction(const qsptr &expression) { - /*{ + { prp_pushUndoRedoName("Change Easing"); UndoRedo ur; ur.fUndo = [this]() { setExpression(nullptr); }; ur.fRedo = [this, expression]() { setExpression(expression); }; prp_addUndoRedo(ur); - }*/ + } setExpression(expression); }