Fix Sprite>Rotate Canvas > 90 not working on empty canvas (fix #1711)

This commit is contained in:
DexterIV 2018-06-15 15:40:10 +02:00 committed by GitHub
parent a4d1833a9c
commit 9e6940e16e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);