mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 08:15:18 -04:00
*** empty log message ***
This commit is contained in:
parent
5fd4272119
commit
08c0c9fea2
@ -120,7 +120,7 @@ int DCClass::
|
||||
get_num_inherited_fields() {
|
||||
if (!_parents.empty()) {
|
||||
// This won't work for multiple dclass inheritance.
|
||||
return _parents.front()->get_num_fields() + get_num_fields();
|
||||
return _parents.front()->get_num_inherited_fields() + get_num_fields();
|
||||
}
|
||||
return get_num_fields();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user