Browse Source

more aggressive fix attempt for crash

David Rose 17 years ago
parent
commit
dffead0964
1 changed files with 1 additions and 1 deletions
  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,
                      int &additional_flags,
                      float &glyph_scale, float &advance_scale) {
                      float &glyph_scale, float &advance_scale) {
   TextFont *font = properties->get_font();
   TextFont *font = properties->get_font();
-  nassertv(font != (TextFont *)NULL);
+  nassertv_always(font != (TextFont *)NULL);
 
 
   got_glyph = false;
   got_glyph = false;
   glyph = NULL;
   glyph = NULL;