Fixed bug with empty string, allowing local fonts to be loaded.
This commit is contained in:
@ -296,6 +296,8 @@ void UILabel::rebufferQuads(const std::vector<struct UILabelText> newTexts) {
|
||||
realNewTexts.push_back(realText);
|
||||
}
|
||||
|
||||
lines.push_back(currentLine);
|
||||
|
||||
// Create mesh
|
||||
if(!vertices.empty()) {
|
||||
this->mesh.createBuffers(
|
||||
|
Reference in New Issue
Block a user