summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2017-05-02 11:57:18 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2017-05-03 08:29:46 -0700
commit1e26d99e1e6eeca6aee1c2407cad76832d9efa40 (patch)
treedf69a724c1e6f933c7ea8740053967f49c1c01f0 /src
parentab20413edfdf830927a3ce236503bc9022400d43 (diff)
downloadqtlocation-mapboxgl-1e26d99e1e6eeca6aee1c2407cad76832d9efa40.tar.gz
[core] Remove forced style cascade
This should happen automatically during rendering. After removing, I can no longer replicate the original issue (#1889).
Diffstat (limited to 'src')
-rw-r--r--src/mbgl/map/map.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mbgl/map/map.cpp b/src/mbgl/map/map.cpp
index 9460ad2580..fdd5809070 100644
--- a/src/mbgl/map/map.cpp
+++ b/src/mbgl/map/map.cpp
@@ -411,9 +411,6 @@ void Map::Impl::loadStyleJSON(const std::string& json) {
style->setJSON(json);
styleJSON = json;
- // force style cascade, causing all pending transitions to complete.
- style->cascade(Clock::now(), mode);
-
if (!cameraMutated) {
// Zoom first because it may constrain subsequent operations.
map.setZoom(map.getDefaultZoom());