mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-01 00:23:35 +00:00
Fixed a bug in Undoable::clear_mask
This commit is contained in:
parent
1764f78d1b
commit
be8a97f5b8
@ -951,7 +951,7 @@ void Undoable::clear_mask(int bgcolor)
|
||||
// if the layer is transparent we can remove the cel (and its
|
||||
// associated image)
|
||||
else {
|
||||
static_cast<LayerImage*>(m_sprite->layer)->remove_cel(cel);
|
||||
remove_cel(static_cast<LayerImage*>(m_sprite->layer), cel);
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user