From 9620e185becf26b6e4290cb913bd290f6cddc542 Mon Sep 17 00:00:00 2001 From: manongjohn Date: Thu, 7 Apr 2022 13:07:30 -0400 Subject: [PATCH] Fix temp fillgap indicators not disappearing --- toonz/sources/toonzlib/fill.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) {