[Marble-commits] KDE/kdeedu/marble/src/lib
Dennis Nienhüser
earthwings at gentoo.org
Sat May 1 19:59:32 CEST 2010
SVN commit 1121565 by nienhueser:
When creating a QRegion matching the outline of a polyline, use winding fill. Fixes overlapping subpaths ruling out each other (commonly occurs in routing paths).
M +1 -1 GeoPainter.cpp
--- trunk/KDE/kdeedu/marble/src/lib/GeoPainter.cpp #1121564:1121565
@@ -630,7 +630,7 @@
stroker.setWidth( strokeWidth );
QPainterPath strokePath = stroker.createStroke( painterPath );
- return QRegion( strokePath.toFillPolygon().toPolygon() );
+ return QRegion( strokePath.toFillPolygon().toPolygon(), Qt::WindingFill );
}
More information about the Marble-commits
mailing list