mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
POD: handle multiple inheritance
This commit is contained in:
parent
bf54580d8e
commit
8cebb52c84
@ -1240,6 +1240,8 @@ class POD:
|
|||||||
# bring less-derived classes to the front
|
# bring less-derived classes to the front
|
||||||
mostDerivedLast(bases)
|
mostDerivedLast(bases)
|
||||||
for c in (bases + [cls]):
|
for c in (bases + [cls]):
|
||||||
|
# skip multiple-inheritance base classes that do not derive from POD
|
||||||
|
if issubclass(c, POD):
|
||||||
# make sure this base has its dict of data defaults
|
# make sure this base has its dict of data defaults
|
||||||
c._compileDefaultDataSet()
|
c._compileDefaultDataSet()
|
||||||
if c.__dict__.has_key('DataSet'):
|
if c.__dict__.has_key('DataSet'):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user