mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
fix band-aid
This commit is contained in:
parent
17ee791ced
commit
0fa44b405c
@ -57,7 +57,7 @@ class ParticleEffect(NodePath):
|
||||
def enable(self):
|
||||
"""enable()"""
|
||||
# band-aid added for client crash - grw
|
||||
if hasattr(self, 'forceGroupDict') and hasattr(self, 'particlesGroupDict'):
|
||||
if hasattr(self, 'forceGroupDict') and hasattr(self, 'particlesDict'):
|
||||
if (self.renderParent != None):
|
||||
for p in self.particlesDict.values():
|
||||
p.setRenderParent(self.renderParent.node())
|
||||
|
Loading…
x
Reference in New Issue
Block a user