diff options
author | Chris Loer <chris.loer@gmail.com> | 2017-10-26 16:13:06 -0700 |
---|---|---|
committer | Chris Loer <chris.loer@gmail.com> | 2017-10-31 10:25:57 -0700 |
commit | b3463653c5366a0281ee9425ca90b2b04958c6d8 (patch) | |
tree | 67cfd93cac07e6692514a87e987fb036145dda04 | |
parent | 321c0b8b44357518ad220e0a3282314ba03f7dd6 (diff) | |
download | qtlocation-mapboxgl-b3463653c5366a0281ee9425ca90b2b04958c6d8.tar.gz |
Make sure to mark symbols as collided if they don't fit on their line geometry.
[skip ci]
-rw-r--r-- | src/mbgl/text/collision_index.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/text/collision_index.cpp b/src/mbgl/text/collision_index.cpp index 26d956ac22..0112e1de1a 100644 --- a/src/mbgl/text/collision_index.cpp +++ b/src/mbgl/text/collision_index.cpp @@ -198,7 +198,7 @@ bool CollisionIndex::placeLineFeature(CollisionFeature& feature, } } - return !collisionDetected; + return !collisionDetected && firstAndLastGlyph; } |