diff --git a/src/domain/UBGraphicsScene.cpp b/src/domain/UBGraphicsScene.cpp index f120ff3a..95fd9a0d 100644 --- a/src/domain/UBGraphicsScene.cpp +++ b/src/domain/UBGraphicsScene.cpp @@ -1024,7 +1024,7 @@ void UBGraphicsScene::eraseLineTo(const QPointF &pEndPoint, const qreal &pWidth) } else if (eraserPath.intersects(itemPainterPath)) { - + itemPainterPath.setFillRule(Qt::WindingFill); QPainterPath newPath = itemPainterPath.subtracted(eraserPath); #pragma omp critical {