[QGIS Commit] r15602 - trunk/qgis/src/core/symbology-ng

svn_qgis at osgeo.org svn_qgis at osgeo.org
Fri Mar 25 17:12:41 EDT 2011


Author: wonder
Date: 2011-03-25 14:12:41 -0700 (Fri, 25 Mar 2011)
New Revision: 15602

Modified:
   trunk/qgis/src/core/symbology-ng/qgslinesymbollayerv2.cpp
Log:
Draw a polyline only if it is empty? (Catch 22 strikes back)


Modified: trunk/qgis/src/core/symbology-ng/qgslinesymbollayerv2.cpp
===================================================================
--- trunk/qgis/src/core/symbology-ng/qgslinesymbollayerv2.cpp	2011-03-25 21:05:08 UTC (rev 15601)
+++ trunk/qgis/src/core/symbology-ng/qgslinesymbollayerv2.cpp	2011-03-25 21:12:41 UTC (rev 15602)
@@ -314,7 +314,7 @@
 
 void QgsMarkerLineSymbolLayerV2::renderPolylineInterval( const QPolygonF& points, QgsSymbolV2RenderContext& context )
 {
-  if ( ! points.isEmpty() )
+  if ( points.isEmpty() )
     return;
 
   QPointF lastPt = points[0];



More information about the QGIS-commit mailing list