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…
Reference in New Issue