fix band-aid

This commit is contained in:
David Rose 2005-04-27 01:34:45 +00:00
parent 17ee791ced
commit 0fa44b405c

View File

@ -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())