We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83cb282 commit e0732a0Copy full SHA for e0732a0
src/core/symbology-ng/qgscategorizedsymbolrendererv2.cpp
@@ -210,12 +210,7 @@ QgsSymbolV2* QgsCategorizedSymbolRendererV2::symbolForFeature( QgsFeature& featu
210
if ( symbol == NULL )
211
{
212
// if no symbol found use default one
213
- //return symbolForValue( QVariant( "" ) );
214
- // What is default? Empty string may be a legal value, and features not found
215
- // should not be rendered using empty string value category symbology.
216
- // We also need to get NULL in that case so that willRenderFeature()
217
- // may be used to count features.
218
- return 0;
+ return symbolForValue( QVariant( "" ) );
219
}
220
221
if ( mRotationFieldIdx == -1 && mSizeScaleFieldIdx == -1 )
0 commit comments