mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-12 03:39:51 +00:00
Fix Sprite>Rotate Canvas > 90 not working on empty canvas (fix #1711)
This commit is contained in:
parent
a4d1833a9c
commit
9e6940e16e
@ -237,9 +237,6 @@ void RotateCommand::onExecute(Context* context)
|
|||||||
rotateSprite = true;
|
rotateSprite = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cels.empty()) // Nothing to do
|
|
||||||
return;
|
|
||||||
|
|
||||||
ContextReader reader(context);
|
ContextReader reader(context);
|
||||||
{
|
{
|
||||||
RotateJob job(reader, m_angle, cels, rotateSprite);
|
RotateJob job(reader, m_angle, cels, rotateSprite);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user