mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -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.
|
||||
speedtrees = []
|
||||
dir = GetThirdpartyDir()
|
||||
if not os.path.exists(dir):
|
||||
return
|
||||
for dirname in os.listdir(dir):
|
||||
if dirname.startswith('SpeedTree SDK v'):
|
||||
version = dirname[15:].split()[0]
|
||||
|
Loading…
x
Reference in New Issue
Block a user