[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:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user