mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 18:03:56 -04:00
Fix crash when using TextGraphic in texts
This commit is contained in:
parent
7e20626915
commit
54819dbcde
@ -544,6 +544,7 @@ assemble_text() {
|
||||
}
|
||||
}
|
||||
|
||||
if (!placement._glyph.is_null()) {
|
||||
if (properties->has_shadow()) {
|
||||
if (_dynamic_merge) {
|
||||
if (placement._glyph->has_quad()) {
|
||||
@ -571,6 +572,7 @@ assemble_text() {
|
||||
} else {
|
||||
placement.assign_to(text_geom_node, text_state);
|
||||
}
|
||||
}
|
||||
placement.copy_graphic_to(text_node, text_state);
|
||||
}
|
||||
placed_glyphs.clear();
|
||||
|
Loading…
x
Reference in New Issue
Block a user