mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
overriding NodePath.getName()
This commit is contained in:
parent
78f0fdbf86
commit
1250458e18
@ -37,6 +37,10 @@ class ParticleEffect(NodePath):
|
||||
del self.particlesDict
|
||||
del self.renderParent
|
||||
|
||||
def getName(self):
|
||||
# override NodePath.getName()
|
||||
return self.name
|
||||
|
||||
def reset(self):
|
||||
self.removeAllForces()
|
||||
self.removeAllParticles()
|
||||
|
Loading…
x
Reference in New Issue
Block a user