mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-03 23:41:56 +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
|
// if the layer is transparent we can remove the cel (and its
|
||||||
// associated image)
|
// associated image)
|
||||||
else {
|
else {
|
||||||
static_cast<LayerImage*>(m_sprite->layer)->remove_cel(cel);
|
remove_cel(static_cast<LayerImage*>(m_sprite->layer), cel);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user