David Rose 24 anni fa
parent
commit
091dfc1a82
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  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
         return type + "  " + name
 
 
     def IsEditable(self):
     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):
     def SetText(self, text):
         try:
         try: