Browse Source

remove support for old panda

David Rose 24 years ago
parent
commit
b9b5a40599
2 changed files with 0 additions and 10 deletions
  1. 0 5
      direct/src/gui/Label.py
  2. 0 5
      direct/src/gui/OnscreenText.py

+ 0 - 5
direct/src/gui/Label.py

@@ -139,11 +139,6 @@ def textLabelAndText(string, style,
     else:
         # Otherwise, we can throw it away.
         node = text.generate()
-
-        #*** Temporary for old Pandas
-        if node == None:
-            node = NamedNode()
-            
         text = node
 
     # Now create a GuiLabel containing this text.

+ 0 - 5
direct/src/gui/OnscreenText.py

@@ -198,11 +198,6 @@ class OnscreenText(PandaObject, NodePath):
         else:
             # Otherwise, we can throw it away.
             self.textNode = textNode.generate()
-
-            #*** Temporary for old Pandas.
-            if self.textNode == None:
-                self.textNode = NamedNode()
-        
         
 	self.isClean = 0