Browse Source

added ~guicount

Darren Ranalli 18 years ago
parent
commit
7267bee98a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      direct/src/gui/DirectGuiBase.py

+ 2 - 0
direct/src/gui/DirectGuiBase.py

@@ -730,6 +730,8 @@ class DirectGuiWidget(DirectGuiBase, NodePath):
                                         (self.guiId, self,
                                         (self.guiId, self,
                                          base.guiItems[self.guiId]))
                                          base.guiItems[self.guiId]))
                 base.guiItems[self.guiId] = self
                 base.guiItems[self.guiId] = self
+                if hasattr(base, 'printGuiCreates'):
+                    printStack()
         # Attach button to parent and make that self
         # Attach button to parent and make that self
         if (parent == None):
         if (parent == None):
             parent = aspect2d
             parent = aspect2d