discovered a bug in the getanimcontrol
This commit is contained in:
parent
a8ded4dffd
commit
7ee602f933
|
|
@ -1403,10 +1403,7 @@ class Actor(DirectObject, NodePath):
|
|||
Return the animControl if present, or None otherwise
|
||||
"""
|
||||
if not partName:
|
||||
if self.__subpartDict.keys():
|
||||
partName = self.__subpartDict.keys()[0]
|
||||
else:
|
||||
partName = 'modelRoot'
|
||||
partName = 'modelRoot'
|
||||
|
||||
if not lodName:
|
||||
if self.switches:
|
||||
|
|
|
|||
Loading…
Reference in New Issue