mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
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):
|
if (particles == None):
|
||||||
self.notify.warning('removeParticles() - particles == None!')
|
self.notify.warning('removeParticles() - particles == None!')
|
||||||
return
|
return
|
||||||
particles.nodePath.reparentTo(hidden)
|
particles.nodePath.detachNode()
|
||||||
del self.particlesDict[particles.getName()]
|
del self.particlesDict[particles.getName()]
|
||||||
|
|
||||||
# Remove all forces from the particles
|
# Remove all forces from the particles
|
||||||
|
Loading…
x
Reference in New Issue
Block a user