mirror of
https://github.com/aseprite/aseprite.git
synced 2024-10-03 21:46:20 +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".
|
||||
else {
|
||||
image_clear(current_image, 0);
|
||||
layer_render(sprite->getFolder(), current_image, 0, 0, frame_num);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user