From 1e26d99e1e6eeca6aee1c2407cad76832d9efa40 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Tue, 2 May 2017 11:57:18 -0700 Subject: [PATCH] [core] Remove forced style cascade This should happen automatically during rendering. After removing, I can no longer replicate the original issue (#1889). --- src/mbgl/map/map.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/mbgl/map/map.cpp b/src/mbgl/map/map.cpp index 9460ad258..fdd580907 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());