diff --git a/toonz/sources/toonzlib/fill.cpp b/toonz/sources/toonzlib/fill.cpp index aeb26da3..476d23e4 100644 --- a/toonz/sources/toonzlib/fill.cpp +++ b/toonz/sources/toonzlib/fill.cpp @@ -646,7 +646,8 @@ bool fill(const TRasterCM32P &r, const FillParameters ¶ms, for (int tempY = 0; tempY < tempRaster->getLy(); tempY++) { for (int tempX = 0; tempX < tempRaster->getLx(); tempX++, tempPix++, keepPix++) { - keepPix->setPaint(tempPix->getPaint()); + if (tempPix->getInk() != styleIndex) + keepPix->setPaint(tempPix->getPaint()); // This next line takes care of autopaint lines if (tempPix->getInk() != styleIndex) { if (closeGaps && tempPix->getInk() == fakeStyleIndex) {