mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
crash fix
This commit is contained in:
parent
67760e8577
commit
3e91321b54
@ -57,7 +57,7 @@ class ParticleEffect(NodePath):
|
||||
def enable(self):
|
||||
# band-aid added for client crash - grw
|
||||
if self.__isValid():
|
||||
if (self.renderParent != None):
|
||||
if self.renderParent:
|
||||
for p in self.particlesDict.values():
|
||||
p.setRenderParent(self.renderParent.node())
|
||||
for f in self.forceGroupDict.values():
|
||||
|
Loading…
x
Reference in New Issue
Block a user