fixed a bug where erasing a pen stroke with simplifyPenStrokes=true ereased every overlapping polygons of it

preferencesAboutTextFull
Clément Fauconnier 7 years ago
parent ad4eec200c
commit c2e16e5c87
  1. 2
      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
{

Loading…
Cancel
Save