diff --git a/src/mbgl/style/style.cpp b/src/mbgl/style/style.cpp index 895e8796b..2992715f4 100644 --- a/src/mbgl/style/style.cpp +++ b/src/mbgl/style/style.cpp @@ -33,12 +33,6 @@ void Style::updateProperties(float z, std::chrono::steady_clock::time_point now) for (const auto& layer : layers) { layer->updateProperties(z, now, zoomHistory); } - - // Apply transitions after the first time. - if (!initial_render_complete) { - initial_render_complete = true; - return; - } } const std::string &Style::getSpriteURL() const { diff --git a/src/mbgl/style/style.hpp b/src/mbgl/style/style.hpp index e36fc4bb8..63ad4a66e 100644 --- a/src/mbgl/style/style.hpp +++ b/src/mbgl/style/style.hpp @@ -40,7 +40,6 @@ public: private: std::string sprite_url; PropertyTransition defaultTransition; - bool initial_render_complete = false; std::unique_ptr mtx; ZoomHistory zoomHistory; };