Question about DEBUG ASSERT "Multiline text is not expected" #9907
Unanswered
ubahnverleih
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I played around with styles and at some point got a this assert triggert:
organicmaps/drape_frontend/text_layout.cpp
Line 287 in b6cc1d5
As i understand, this is only triggered in debug builds. First thougt, that it was something i've done wrong in styling, but it turns out, there was an OSM object with a newline in the name tag in my mapview. Does it mean, that something went wrong in the pre processing where newlines should be removed or is it just a protection to avoid developers trying to insert multiline labels in styles? Of course i can change the object in OSM, i just want to make sure that this isn't an unnoticed issue in the data processing.
Beta Was this translation helpful? Give feedback.
All reactions