diff options
author | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2018-11-13 17:39:26 +0200 |
---|---|---|
committer | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2018-11-19 14:06:21 +0200 |
commit | 77911f1cc955b1adeb143dd15f6fc0d77763440c (patch) | |
tree | e8a84100c7eae6ab23ffc1a4420db3ed6760dd01 /src/mbgl/geometry | |
parent | 20c471669c102d1740558c2c7d1ea77bb9ef8530 (diff) | |
download | qtlocation-mapboxgl-77911f1cc955b1adeb143dd15f6fc0d77763440c.tar.gz |
[core] Replace RenderSymbolLayer downcast with symbol interface
Diffstat (limited to 'src/mbgl/geometry')
-rw-r--r-- | src/mbgl/geometry/feature_index.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/geometry/feature_index.cpp b/src/mbgl/geometry/feature_index.cpp index 651e3b9c56..7dc46c4dfc 100644 --- a/src/mbgl/geometry/feature_index.cpp +++ b/src/mbgl/geometry/feature_index.cpp @@ -155,7 +155,7 @@ void FeatureIndex::addFeature( assert(geometryTileFeature); } - if (!renderLayer->is<RenderSymbolLayer>() && + if (!renderLayer->getSymbolInterface() && !renderLayer->queryIntersectsFeature(queryGeometry, *geometryTileFeature, tileID.z, transformState, pixelsToTileUnits, posMatrix)) { continue; } |