Sfoglia il codice sorgente

remove bogus assert

David Rose 14 anni fa
parent
commit
eb0f42af91
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. 0 1
      panda/src/express/multifile.cxx

+ 0 - 1
panda/src/express/multifile.cxx

@@ -1826,7 +1826,6 @@ extract_subfile(int index, const Filename &filename) {
     fname.set_binary();
   }
 
-  nassertr(fname.is_binary_or_text(), false);
   if (!fname.is_binary_or_text()) {
     // If we haven't specified binary or text, infer it from the type
     // of the subfile.