mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Fix SpeedTree compile error on Linux
This commit is contained in:
parent
67df80cd1b
commit
ea4ca0e667
@ -1492,6 +1492,8 @@ def SdkLocateSpeedTree():
|
|||||||
# thirdparty dir, and pick the highest-numbered one.
|
# thirdparty dir, and pick the highest-numbered one.
|
||||||
speedtrees = []
|
speedtrees = []
|
||||||
dir = GetThirdpartyDir()
|
dir = GetThirdpartyDir()
|
||||||
|
if not os.path.exists(dir):
|
||||||
|
return
|
||||||
for dirname in os.listdir(dir):
|
for dirname in os.listdir(dir):
|
||||||
if dirname.startswith('SpeedTree SDK v'):
|
if dirname.startswith('SpeedTree SDK v'):
|
||||||
version = dirname[15:].split()[0]
|
version = dirname[15:].split()[0]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user