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