diff --git a/src/app/tools/intertwiners.h b/src/app/tools/intertwiners.h index a00f7c0fe..3fe0133b8 100644 --- a/src/app/tools/intertwiners.h +++ b/src/app/tools/intertwiners.h @@ -123,7 +123,12 @@ public: } // Closed shape (polygon outline) - if (loop->getFilled()) { + // Note: Contour tool was getting into the condition with no need, so + // we add the && !isFreehand to detect this circunstance. + // When this is missing, we have problems previewing the stroke of + // contour tool, with brush type = kImageBrush with alpha content and + // with not Pixel Perfect pencil mode. + if (loop->getFilled() && !loop->getController()->isFreehand()) { doPointshapeLine(stroke[0].x, stroke[0].y, stroke[stroke.size()-1].x, stroke[stroke.size()-1].y, loop);