Got rid of hidden bloat by detaching node instead
This commit is contained in:
parent
ae75c640a9
commit
6f6c626166
|
|
@ -128,7 +128,7 @@ class ParticleEffect(NodePath):
|
|||
if (particles == None):
|
||||
self.notify.warning('removeParticles() - particles == None!')
|
||||
return
|
||||
particles.nodePath.reparentTo(hidden)
|
||||
particles.nodePath.detachNode()
|
||||
del self.particlesDict[particles.getName()]
|
||||
|
||||
# Remove all forces from the particles
|
||||
|
|
|
|||
Loading…
Reference in New Issue