mirror of
https://github.com/aseprite/aseprite.git
synced 2024-10-04 05:50:15 +00:00
Fix issue #8: saving .gif files with transparent backgrounds
does not clear the previous frame.
This commit is contained in:
parent
26715e1a08
commit
824c309c8f
@ -410,6 +410,7 @@ bool GifFormat::onSave(FileOp* fop)
|
|||||||
}
|
}
|
||||||
// If the sprite is Indexed, we can render directly into "current_image".
|
// If the sprite is Indexed, we can render directly into "current_image".
|
||||||
else {
|
else {
|
||||||
|
image_clear(current_image, 0);
|
||||||
layer_render(sprite->getFolder(), current_image, 0, 0, frame_num);
|
layer_render(sprite->getFolder(), current_image, 0, 0, frame_num);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user