[core] Remove forced style cascade

This should happen automatically during rendering. After removing, I can no longer replicate the original issue (#1889).
This commit is contained in:
John Firebaugh
2017-05-02 11:57:18 -07:00
parent ab20413edf
commit 1e26d99e1e

View File

@@ -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());