diff --git a/uppsrc/Painter/Render.cpp b/uppsrc/Painter/Render.cpp index 8097b0006..c3c875fcc 100644 --- a/uppsrc/Painter/Render.cpp +++ b/uppsrc/Painter/Render.cpp @@ -141,14 +141,15 @@ Buffer BufferPainter::RenderPath(double width, Event newclip; + + if(width == FILL) + Close(); + if(width == 0 || !ss && color.a == 0 && width >= FILL) { current = Null; return newclip; } - if(width == FILL) - Close(); - if(co && width >= FILL && !ss && !alt && mode == MODE_ANTIALIASED) { for(const String& p : path) { while(jobcount >= cojob.GetCount())