Skip to content
Permalink
Browse files

better fix for phantom labels: consider rules out of visibility range…

… as inactive (followup d6f66ee)
  • Loading branch information
jef-n committed Oct 23, 2015
1 parent 44590e9 commit b36cd1f00213be568ab6b86fb10ff63246759935
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/symbology-ng/qgsrulebasedrendererv2.cpp
@@ -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;

0 comments on commit b36cd1f

Please sign in to comment.
You can’t perform that action at this time.