Browse Source

remove legacy

David Rose 22 years ago
parent
commit
89e8de58f9
1 changed files with 1 additions and 6 deletions
  1. 1 6
      direct/src/extensions/NodePath-extensions.py

+ 1 - 6
direct/src/extensions/NodePath-extensions.py

@@ -6,12 +6,7 @@
 
 
     def id(self):
     def id(self):
         """Returns a unique id identifying the NodePath instance"""
         """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):
     def getName(self):
         """Returns the name of the bottom node if it exists, or <noname>"""
         """Returns the name of the bottom node if it exists, or <noname>"""