Browse Source

remove old panda support

David Rose 23 năm trước cách đây
mục cha
commit
9cd41c891c
1 tập tin đã thay đổi với 1 bổ sung6 xóa
  1. 1 6
      direct/src/showbase/Loader.py

+ 1 - 6
direct/src/showbase/Loader.py

@@ -193,12 +193,7 @@ class Loader:
             # and spaceAdvance should be set last, since some of the
             # and spaceAdvance should be set last, since some of the
             # other parameters can cause these to be reset to their
             # other parameters can cause these to be reset to their
             # default.
             # default.
-            
-            # temporary try..except for old Pandas.
-            try:
-                font.setLineHeight(lineHeight)
-            except:
-                pass
+            font.setLineHeight(lineHeight)
 
 
         if spaceAdvance != None:
         if spaceAdvance != None:
             font.setSpaceAdvance(spaceAdvance)
             font.setSpaceAdvance(spaceAdvance)