mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
remove legacy
This commit is contained in:
parent
00d069754d
commit
89e8de58f9
@ -6,12 +6,7 @@
|
||||
|
||||
def id(self):
|
||||
"""Returns a unique id identifying the NodePath instance"""
|
||||
try:
|
||||
# Old style scene graph
|
||||
return self.arc()
|
||||
except:
|
||||
# New style scene graph
|
||||
return self.getKey()
|
||||
return self.getKey()
|
||||
|
||||
def getName(self):
|
||||
"""Returns the name of the bottom node if it exists, or <noname>"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user