mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -04:00
Fix randomly slanted/crashing TextGraphics
This commit is contained in:
parent
6f168446d0
commit
106cf2cad0
@ -1489,6 +1489,7 @@ assemble_row(TextAssembler::TextRow &row,
|
||||
placement._scale = properties->get_glyph_scale();
|
||||
placement._xpos = (xpos - frame[0]);
|
||||
placement._ypos = (properties->get_glyph_shift() - frame[2]);
|
||||
placement._slant = properties->get_slant();
|
||||
placement._properties = properties;
|
||||
|
||||
placed_glyphs.push_back(placement);
|
||||
|
Loading…
x
Reference in New Issue
Block a user