Forráskód Böngészése

fix from forum user peciScx

David Rose 17 éve
szülő
commit
7e2c036927
1 módosított fájl, 3 hozzáadás és 1 törlés
  1. 3 1
      panda/src/text/textAssembler.I

+ 3 - 1
panda/src/text/textAssembler.I

@@ -400,7 +400,9 @@ operator = (const TextAssembler::TextCharacter &copy) {
 INLINE TextAssembler::TextRow::
 TextRow(int row_start) :
   _row_start(row_start),
-  _got_soft_hyphens(false)
+  _got_soft_hyphens(false),
+  _xpos(0.0f),
+  _ypos(0.0f)
 {
 }