mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -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):
|
||||
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…
x
Reference in New Issue
Block a user