فهرست منبع

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]