From 9e6940e16e99c778214a998ce9a72026554c647d Mon Sep 17 00:00:00 2001 From: DexterIV Date: Fri, 15 Jun 2018 15:40:10 +0200 Subject: [PATCH] Fix Sprite>Rotate Canvas > 90 not working on empty canvas (fix #1711) --- src/app/commands/cmd_rotate.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/app/commands/cmd_rotate.cpp b/src/app/commands/cmd_rotate.cpp index 73ec11222..a8906e79f 100644 --- a/src/app/commands/cmd_rotate.cpp +++ b/src/app/commands/cmd_rotate.cpp @@ -237,9 +237,6 @@ void RotateCommand::onExecute(Context* context) rotateSprite = true; } - if (cels.empty()) // Nothing to do - return; - ContextReader reader(context); { RotateJob job(reader, m_angle, cels, rotateSprite);