mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-21 06:32:33 -04:00
non-multiple implies non-virtual inheritance
This commit is contained in:
parent
413377b78c
commit
eabae807bd
@ -274,7 +274,7 @@ get_field_by_index(int index_number) const {
|
|||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
int DCClass::
|
int DCClass::
|
||||||
get_num_inherited_fields() const {
|
get_num_inherited_fields() const {
|
||||||
if (dc_virtual_inheritance) {
|
if (dc_multiple_inheritance && dc_virtual_inheritance) {
|
||||||
if (_dc_file != (DCFile *)NULL) {
|
if (_dc_file != (DCFile *)NULL) {
|
||||||
_dc_file->check_inherited_fields();
|
_dc_file->check_inherited_fields();
|
||||||
}
|
}
|
||||||
@ -309,7 +309,7 @@ get_num_inherited_fields() const {
|
|||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
DCField *DCClass::
|
DCField *DCClass::
|
||||||
get_inherited_field(int n) const {
|
get_inherited_field(int n) const {
|
||||||
if (dc_virtual_inheritance) {
|
if (dc_multiple_inheritance && dc_virtual_inheritance) {
|
||||||
if (_dc_file != (DCFile *)NULL) {
|
if (_dc_file != (DCFile *)NULL) {
|
||||||
_dc_file->check_inherited_fields();
|
_dc_file->check_inherited_fields();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user