Skip to content

Commit

Permalink
[BUGFIX][SERVER] GetFeatureInfo not evaluated for maptip context when…
Browse files Browse the repository at this point in the history
… using FILTER param

fixed #16670
  • Loading branch information
rldhont committed Jul 26, 2017
1 parent 783e454 commit a3af69a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/services/wms/qgswmsrenderer.cpp
Expand Up @@ -1350,15 +1350,15 @@ namespace QgsWms
break;
}

renderContext.expressionContext().setFeature( feature );

if ( layer->wkbType() != QgsWkbTypes::NoGeometry && ! searchRect.isEmpty() )
{
if ( !r2 )
{
continue;
}

renderContext.expressionContext().setFeature( feature );

//check if feature is rendered at all
bool render = r2->willRenderFeature( feature, renderContext );
if ( !render )
Expand Down

0 comments on commit a3af69a

Please sign in to comment.