Skip to content

Commit

Permalink
Draw a polyline only if it is empty? (Catch 22 strikes back)
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@15602 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Mar 25, 2011
1 parent f7d7706 commit e517855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/symbology-ng/qgslinesymbollayerv2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ void QgsMarkerLineSymbolLayerV2::renderPolyline( const QPolygonF& points, QgsSym

void QgsMarkerLineSymbolLayerV2::renderPolylineInterval( const QPolygonF& points, QgsSymbolV2RenderContext& context )
{
if ( ! points.isEmpty() )
if ( points.isEmpty() )
return;

QPointF lastPt = points[0];
Expand Down

0 comments on commit e517855

Please sign in to comment.