Skip to content
Permalink
Browse files

Fix rulebased rendering else rule vs. disabled rules

  • Loading branch information
m-kuhn committed Sep 8, 2015
1 parent 93e9204 commit 4d9231a54e2c97ce727b3cabf9cb541587159a87
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/core/symbology-ng/qgsrulebasedrendererv2.cpp
@@ -533,7 +533,8 @@ QgsRuleBasedRendererV2::Rule::RenderResult QgsRuleBasedRendererV2::Rule::renderF
if ( !rule->isElse() )
{
RenderResult res = rule->renderFeature( featToRender, context, renderQueue );
willrendersomething |= ( res == Rendered );
// consider inactive items as "rendered" so the else rule will ignore them
willrendersomething |= ( res == Rendered || res == Inactive );
rendered |= willrendersomething;
}
}

0 comments on commit 4d9231a

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