Browse Source

new scene graph

David Rose 24 years ago
parent
commit
091dfc1a82
1 changed files with 3 additions and 1 deletions
  1. 3 1
      direct/src/tkwidgets/SceneGraphExplorer.py

+ 3 - 1
direct/src/tkwidgets/SceneGraphExplorer.py

@@ -129,7 +129,9 @@ class SceneGraphExplorerItem(TreeItem):
         return type + "  " + name
 
     def IsEditable(self):
-        return issubclass(self.nodePath.node().__class__, NamedNode)
+        # All nodes' names can be edited nowadays.
+        return 1
+        #return issubclass(self.nodePath.node().__class__, NamedNode)
 
     def SetText(self, text):
         try: