summaryrefslogtreecommitdiff
path: root/src/mbgl
diff options
context:
space:
mode:
authorAlexander Shalamov <alexander.shalamov@mapbox.com>2019-08-14 12:16:07 +0300
committerAlexander Shalamov <alexander.shalamov@mapbox.com>2019-08-14 13:54:53 +0300
commitcd129612c1d5472a7054ba4a3dd3a99ef29fe182 (patch)
treecf1da9fa0ddba81b6f2a3e7d7bfb3dd959c481bf /src/mbgl
parentf8901e2b10732b34a0a66d89261a611cef0d0a71 (diff)
downloadqtlocation-mapboxgl-cd129612c1d5472a7054ba4a3dd3a99ef29fe182.tar.gz
[core] Clear collision text boxes between symbol placement iterations
Diffstat (limited to 'src/mbgl')
-rw-r--r--src/mbgl/text/placement.cpp1
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;