mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-15 11:42:30 +00:00
Fix compilation error in DocumentApi::clearMask()
This commit is contained in:
parent
77a66c1b87
commit
79320943d7
@ -1208,7 +1208,7 @@ void DocumentApi::clearMask(Cel* cel)
|
||||
if (!image)
|
||||
return;
|
||||
|
||||
Layer* layer = cel->layer();
|
||||
LayerImage* layer = cel->layer();
|
||||
Mask* mask = m_document->mask();
|
||||
color_t bgcolor = bgColor(layer);
|
||||
|
||||
@ -1223,7 +1223,7 @@ void DocumentApi::clearMask(Cel* cel)
|
||||
// associated image).
|
||||
else {
|
||||
ASSERT(layer->isImage());
|
||||
removeCel(cel);
|
||||
removeCel(layer, cel);
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user