2
0
Эх сурвалжийг харах

Got rid of hidden bloat by detaching node instead

Mark Mine 22 жил өмнө
parent
commit
6f6c626166

+ 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