Home
Phabricator
Search
Log In
Paste
P233
Masterwork From Distant Lands
Active
Public
Actions
Authored by
dkazakov
on Jun 6 2018, 9:37 AM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Subscribers
None
diff --git a/plugins/dockers/animation/tests/kis_animation_utils_test.cpp b/plugins/dockers/animation/tests/kis_animation_utils_test.cpp
index a846306..3143788 100644
--- a/plugins/dockers/animation/tests/kis_animation_utils_test.cpp
+++ b/plugins/dockers/animation/tests/kis_animation_utils_test.cpp
@@ -125,7 +125,7 @@ void KisAnimationUtilsTest::test()
frameMoves << std::make_pair(FrameItem(layer1, "content", 10), FrameItem(layer1, "content", 20));
frameMoves << std::make_pair(FrameItem(layer1, "content", 20), FrameItem(layer1, "content", 0));
- QScopedPointer<KUndo2Command> cmd(createMoveKeyframesCommand(frameMoves, false));
+ QScopedPointer<KUndo2Command> cmd(createMoveKeyframesCommand(frameMoves, false, false));
cmd->redo();
QVector<std::tuple<int, QRect, QRect>> referenceRects;
@@ -150,7 +150,7 @@ void KisAnimationUtilsTest::test()
frameMoves << std::make_pair(FrameItem(layer2, "content", 10), FrameItem(layer1, "content", 10));
frameMoves << std::make_pair(FrameItem(layer1, "content", 20), FrameItem(layer2, "content", 20));
- cmd.reset(createMoveKeyframesCommand(frameMoves, false));
+ cmd.reset(createMoveKeyframesCommand(frameMoves, false, false));
cmd->redo();
referenceRects << std::make_tuple( 0, QRect() , QRect( 0, 10, 10, 10));
@@ -176,7 +176,7 @@ void KisAnimationUtilsTest::test()
frameMoves << std::make_pair(FrameItem(layer2, "content", 10), FrameItem(layer1, "content", 10));
frameMoves << std::make_pair(FrameItem(layer2, "content", 20), FrameItem(layer1, "content", 20));
- cmd.reset(createMoveKeyframesCommand(frameMoves, false));
+ cmd.reset(createMoveKeyframesCommand(frameMoves, false, false));
cmd->redo();
referenceRects << std::make_tuple( 0, QRect( 0, 10, 10, 10), QRect( 0, 0, 10, 10));
@@ -203,7 +203,7 @@ void KisAnimationUtilsTest::test()
frameMoves << std::make_pair(FrameItem(layer2, "content", 10), FrameItem(layer1, "content", 9));
frameMoves << std::make_pair(FrameItem(layer2, "content", 20), FrameItem(layer1, "content", 20));
- cmd.reset(createMoveKeyframesCommand(frameMoves, false));
+ cmd.reset(createMoveKeyframesCommand(frameMoves, false, false));
cmd->redo();
referenceRects << std::make_tuple( 0, QRect( 0, 10, 10, 10), QRect( 0, 0, 10, 10));
dkazakov
edited the content of this paste.
(Show Details)
Jun 6 2018, 9:37 AM
dkazakov
changed the title of this paste from untitled to
Masterwork From Distant Lands
.
dkazakov
mentioned this in
D13376: Bugfix: Animation Timeline's "Remove Frames and Pull" now removes expect frames consistently.
.
Jun 6 2018, 9:39 AM
Log In to Comment