[QGIS Commit] r8282 - trunk/qgis/src/core/renderer
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Wed Mar 26 04:30:21 EDT 2008
Author: jef
Date: 2008-03-26 04:30:20 -0400 (Wed, 26 Mar 2008)
New Revision: 8282
Modified:
trunk/qgis/src/core/renderer/qgscontinuouscolorrenderer.cpp
Log:
fix other aspect of #962
Modified: trunk/qgis/src/core/renderer/qgscontinuouscolorrenderer.cpp
===================================================================
--- trunk/qgis/src/core/renderer/qgscontinuouscolorrenderer.cpp 2008-03-26 03:16:41 UTC (rev 8281)
+++ trunk/qgis/src/core/renderer/qgscontinuouscolorrenderer.cpp 2008-03-26 08:30:20 UTC (rev 8282)
@@ -79,6 +79,8 @@
{
//first find out the value for the classification attribute
const QgsAttributeMap& attrs = f.attributeMap();
+ if( attrs[mClassificationField].isNull() )
+ return;
double fvalue = attrs[mClassificationField].toDouble();
//double fvalue = vec[mClassificationField].fieldValue().toDouble();
More information about the QGIS-commit
mailing list