diff options
author | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2019-08-14 12:16:07 +0300 |
---|---|---|
committer | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2019-08-14 13:54:53 +0300 |
commit | cd129612c1d5472a7054ba4a3dd3a99ef29fe182 (patch) | |
tree | cf1da9fa0ddba81b6f2a3e7d7bfb3dd959c481bf /src | |
parent | f8901e2b10732b34a0a66d89261a611cef0d0a71 (diff) | |
download | qtlocation-mapboxgl-cd129612c1d5472a7054ba4a3dd3a99ef29fe182.tar.gz |
[core] Clear collision text boxes between symbol placement iterations
Diffstat (limited to 'src')
-rw-r--r-- | src/mbgl/text/placement.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mbgl/text/placement.cpp b/src/mbgl/text/placement.cpp index 23d460889d..27c4913c63 100644 --- a/src/mbgl/text/placement.cpp +++ b/src/mbgl/text/placement.cpp @@ -172,6 +172,7 @@ void Placement::placeBucket( placements.emplace(symbolInstance.crossTileID, JointPlacement(false, false, false)); return; } + textBoxes.clear(); iconBoxes.clear(); bool placeText = false; |