mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
actors can be non-chars now
This commit is contained in:
parent
76fa331c85
commit
914189b38c
@ -1098,6 +1098,7 @@ class Actor(PandaObject, NodePath):
|
||||
bundle = model.find("**/+PartBundleNode")
|
||||
if (bundle.isEmpty()):
|
||||
Actor.notify.warning("%s is not a character!" % (modelPath))
|
||||
model.reparentTo(self.__geomNode)
|
||||
else:
|
||||
self.prepareBundle(bundle, partName, lodName)
|
||||
model.removeNode()
|
||||
|
Loading…
x
Reference in New Issue
Block a user