This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
MapContext::update should not reset updateFlags wholesale #3082
Labels
Core
The cross-platform C++ core, aka mbgl
This leads to fragile updates -- if some precondition needed by the update (like the style being loaded) is not met, then the flag gets reset and lost unless there is also code at the point where the precondition becomes met that reinstates the flag.
Instead, we should check and reset flags on an individual basis.
The text was updated successfully, but these errors were encountered: