mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-03 23:41:56 +00:00
Fix bug clearing an Image with color=0 in rotsprite
Introduced in commit 35229e99a6
This commit is contained in:
parent
8e2feb31bd
commit
58db0fba09
@ -209,7 +209,6 @@ void rotsprite_image(Image* bmp, const Image* spr, const Image* mask,
|
|||||||
}
|
}
|
||||||
|
|
||||||
clear_image(bmp_copy, maskColor);
|
clear_image(bmp_copy, maskColor);
|
||||||
clear_image(bmp_copy, 0);
|
|
||||||
scale_image(bmp_copy, bmp,
|
scale_image(bmp_copy, bmp,
|
||||||
0, 0, bmp_copy->width(), bmp_copy->height(),
|
0, 0, bmp_copy->width(), bmp_copy->height(),
|
||||||
xmin, ymin, rot_width, rot_height);
|
xmin, ymin, rot_width, rot_height);
|
||||||
|
Loading…
Reference in New Issue
Block a user