Browse Source

Got rid of hidden bloat by detaching node instead

Mark Mine 22 years ago
parent
commit
6f6c626166
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/particles/ParticleEffect.py

+ 1 - 1
direct/src/particles/ParticleEffect.py

@@ -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