Skip to content

Commit

Permalink
better fix for phantom labels: consider rules out of visibility range…
Browse files Browse the repository at this point in the history
… as inactive (followup d6f66ee)
  • Loading branch information
jef-n committed Oct 23, 2015
1 parent 44590e9 commit b36cd1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/symbology-ng/qgsrulebasedrendererv2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ QgsRuleBasedRendererV2::Rule::RenderResult QgsRuleBasedRendererV2::Rule::renderF
rendered |= rule->renderFeature( featToRender, context, renderQueue ) == Rendered;
}
}
if ( !mIsActive )
if ( !mIsActive || ( mSymbol && !rendered ) )
return Inactive;
else if ( rendered )
return Rendered;
Expand Down

0 comments on commit b36cd1f

Please sign in to comment.