From 14e029135c83108e7ca4725aa6aa4e99f9ab9186 Mon Sep 17 00:00:00 2001 From: David Rose Date: Mon, 11 Oct 2010 16:59:21 +0000 Subject: [PATCH] move speedtree from thirdparty to sdks --- makepanda/makepandacore.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/makepanda/makepandacore.py b/makepanda/makepandacore.py index 85796a9430..ab06f4a056 100644 --- a/makepanda/makepandacore.py +++ b/makepanda/makepandacore.py @@ -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]