Explorar o código

fix from forum user peciScx

David Rose %!s(int64=17) %!d(string=hai) anos
pai
achega
7e2c036927
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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::
 INLINE TextAssembler::TextRow::
 TextRow(int row_start) :
 TextRow(int row_start) :
   _row_start(row_start),
   _row_start(row_start),
-  _got_soft_hyphens(false)
+  _got_soft_hyphens(false),
+  _xpos(0.0f),
+  _ypos(0.0f)
 {
 {
 }
 }