move speedtree from thirdparty to sdks

This commit is contained in:
David Rose 2010-10-11 16:59:21 +00:00
parent b72ae7c513
commit 14e029135c
1 changed files with 4 additions and 3 deletions

View File

@ -1489,11 +1489,12 @@ def SdkLocatePhysX():
def SdkLocateSpeedTree():
# Look for all of the SpeedTree SDK directories within the
# thirdparty dir, and pick the highest-numbered one.
speedtrees = []
dir = GetThirdpartyDir()
# sdks/win32/speedtree dir, and pick the highest-numbered one.
dir = GetSdkDir("speedtree")
if not os.path.exists(dir):
return
speedtrees = []
for dirname in os.listdir(dir):
if dirname.startswith('SpeedTree SDK v'):
version = dirname[15:].split()[0]