remove troublesome assert

This commit is contained in:
David Rose 2010-03-08 20:13:20 +00:00
parent 85bd762709
commit 30dddab983
1 changed files with 3 additions and 1 deletions

View File

@ -287,7 +287,9 @@ get_num_inherited_fields() const {
((DCClass *)this)->rebuild_inherited_fields();
}
nassertr(is_bogus_class() || !_inherited_fields.empty(), 0);
// This assertion causes trouble when we are only parsing an
// incomplete DC file.
//nassertr(is_bogus_class() || !_inherited_fields.empty(), 0);
return (int)_inherited_fields.size();
} else {