Merge pull request #1750 from DexterIV/master

Fix "Sprite>Rotate Canvas > 90" not working on empty canvas (fix #1711)
This commit is contained in:
David Capello 2018-06-19 15:41:21 -03:00 committed by GitHub
commit a5b0c7ebdd
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);