mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
remove troublesome assert
This commit is contained in:
parent
85bd762709
commit
30dddab983
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user