diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2017-01-12 14:17:20 -0800 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2017-01-12 16:19:14 -0800 |
commit | 85fc75db8ddb5e045d5612fb38925535a8bb1804 (patch) | |
tree | 603023d18db4b32a1eca6fa7e41235959d8ae19f /platform/darwin/src/MGLSymbolStyleLayer.mm | |
parent | 0a1987f0915c478e0ec0057e9400c7d711980373 (diff) | |
download | qtlocation-mapboxgl-85fc75db8ddb5e045d5612fb38925535a8bb1804.tar.gz |
[ios, macos] Fixed nilling out predicate
Diffstat (limited to 'platform/darwin/src/MGLSymbolStyleLayer.mm')
-rw-r--r-- | platform/darwin/src/MGLSymbolStyleLayer.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLSymbolStyleLayer.mm b/platform/darwin/src/MGLSymbolStyleLayer.mm index d753442c61..c84f218cac 100644 --- a/platform/darwin/src/MGLSymbolStyleLayer.mm +++ b/platform/darwin/src/MGLSymbolStyleLayer.mm @@ -134,7 +134,7 @@ namespace mbgl { { MGLAssertStyleLayerIsValid(); - self.rawLayer->setFilter(predicate.mgl_filter); + self.rawLayer->setFilter(predicate ? predicate.mgl_filter : mbgl::style::NullFilter()); } - (NSPredicate *)predicate |