ソースを参照

One-line bug in SdkLocateMaya

Josh Yelon 18 年 前
コミット
7f60835723
1 ファイル変更1 行追加1 行削除
  1. 1 1
      doc/makepanda/makepandacore.py

+ 1 - 1
doc/makepanda/makepandacore.py

@@ -668,7 +668,7 @@ def SdkLocateMaya():
                     SDK[ver] = ddir
                 else:
                     res = GetRegistryKey(key, "MAYA_INSTALL_LOCATION")
-                    if (key != 0):
+                    if (res != 0):
                         res = res.replace("\\", "/").rstrip("/")
                         SDK[res] = ver