소스 검색

more aggressive fix attempt for crash

David Rose 17 년 전
부모
커밋
dffead0964
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      panda/src/text/textAssembler.cxx

+ 1 - 1
panda/src/text/textAssembler.cxx

@@ -1432,7 +1432,7 @@ get_character_glyphs(int character, const TextProperties *properties,
                      int &additional_flags,
                      float &glyph_scale, float &advance_scale) {
   TextFont *font = properties->get_font();
-  nassertv(font != (TextFont *)NULL);
+  nassertv_always(font != (TextFont *)NULL);
 
   got_glyph = false;
   glyph = NULL;