summaryrefslogtreecommitdiff
path: root/src/mbgl/style/style_impl.cpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2017-07-19 17:59:50 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2017-07-20 08:58:50 -0700
commitb43e1ae12328e8a36a9a36c03e49e1db0a395189 (patch)
treedf0cb8d9a44406578107fb9c07d5c34324160f45 /src/mbgl/style/style_impl.cpp
parentd3628449460a0918e9e89c81e1baba31c4acffe0 (diff)
downloadqtlocation-mapboxgl-b43e1ae12328e8a36a9a36c03e49e1db0a395189.tar.gz
[core] Correctly track sprite loaded state through smart setStyle
Diffstat (limited to 'src/mbgl/style/style_impl.cpp')
-rw-r--r--src/mbgl/style/style_impl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mbgl/style/style_impl.cpp b/src/mbgl/style/style_impl.cpp
index 2d42afd086..9cc2588ca7 100644
--- a/src/mbgl/style/style_impl.cpp
+++ b/src/mbgl/style/style_impl.cpp
@@ -111,6 +111,7 @@ void Style::Impl::parse(const std::string& json_) {
defaultPitch = parser.pitch;
setLight(std::make_unique<Light>(parser.light));
+ spriteLoaded = false;
spriteLoader->load(parser.spriteURL, scheduler, fileSource);
glyphURL = parser.glyphURL;