mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
remove old panda support
This commit is contained in:
parent
4f8ebf4512
commit
9cd41c891c
@ -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.
|
||||||
|
font.setLineHeight(lineHeight)
|
||||||
# temporary try..except for old Pandas.
|
|
||||||
try:
|
|
||||||
font.setLineHeight(lineHeight)
|
|
||||||
except:
|
|
||||||
pass
|
|
||||||
|
|
||||||
if spaceAdvance != None:
|
if spaceAdvance != None:
|
||||||
font.setSpaceAdvance(spaceAdvance)
|
font.setSpaceAdvance(spaceAdvance)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user