浏览代码

move speedtree from thirdparty to sdks

David Rose 15 年之前
父节点
当前提交
14e029135c
共有 1 个文件被更改,包括 4 次插入3 次删除
  1. 4 3
      makepanda/makepandacore.py

+ 4 - 3
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]