mirror of
https://github.com/panda3d/panda3d.git
synced 2026-04-23 23:19:19 -05:00
Fix from forum user Akranar
This commit is contained in:
@@ -678,7 +678,7 @@ def SdkLocateMaya():
|
||||
res = GetRegistryKey(fullkey, "MAYA_INSTALL_LOCATION")
|
||||
if (res != 0):
|
||||
res = res.replace("\\", "/").rstrip("/")
|
||||
SDK[res] = ver
|
||||
SDK[ver] = res
|
||||
elif (sys.platform == "darwin"):
|
||||
ddir1 = "sdks/"+ver.lower().replace("x","")+"-osx"
|
||||
if os.environ.has_key("MAYA_LOCATION"): ddir2 = os.environ["MAYA_LOCATION"].rstrip("/")
|
||||
|
||||
Reference in New Issue
Block a user