Fix old erased pixels were shown again during erase tool usage

This commit is contained in:
Gaspar Capello 2020-06-26 14:59:55 -03:00 committed by David Capello
parent 1f0570c81c
commit 1d68d169a4

View File

@ -355,6 +355,7 @@ Image* ExpandCelCanvas::getSourceCanvas()
m_bounds.w, m_bounds.h, src_buffer));
m_srcImage->setMaskColor(m_sprite->transparentColor());
m_srcImage->clear(m_sprite->transparentColor());
}
return m_srcImage.get();
}