mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-15 20:42:40 +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)
|
if (!image)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
Layer* layer = cel->layer();
|
LayerImage* layer = cel->layer();
|
||||||
Mask* mask = m_document->mask();
|
Mask* mask = m_document->mask();
|
||||||
color_t bgcolor = bgColor(layer);
|
color_t bgcolor = bgColor(layer);
|
||||||
|
|
||||||
@ -1223,7 +1223,7 @@ void DocumentApi::clearMask(Cel* cel)
|
|||||||
// associated image).
|
// associated image).
|
||||||
else {
|
else {
|
||||||
ASSERT(layer->isImage());
|
ASSERT(layer->isImage());
|
||||||
removeCel(cel);
|
removeCel(layer, cel);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user