mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
Why is this trying to compile max and maya on linux?
This commit is contained in:
parent
6a4debc517
commit
2025e30cc9
@ -480,8 +480,10 @@ MAYAVERSIONINFO=[("MAYA6", "SOFTWARE\\Alias|Wavefront\\Maya\\6.0\\Setup\\Instal
|
|||||||
]
|
]
|
||||||
|
|
||||||
for (ver,key) in MAYAVERSIONINFO:
|
for (ver,key) in MAYAVERSIONINFO:
|
||||||
if (OMIT.count(ver)==0) and (MAYASDK.has_key(ver)==0):
|
print "Checking for "+ver
|
||||||
|
if (OMIT.count(ver)==0):
|
||||||
if (sys.platform == "win32"):
|
if (sys.platform == "win32"):
|
||||||
|
if (MAYASDK.has_key(ver)==0):
|
||||||
MAYASDK[ver]=GetRegistryKey(key, "MAYA_INSTALL_LOCATION")
|
MAYASDK[ver]=GetRegistryKey(key, "MAYA_INSTALL_LOCATION")
|
||||||
if (MAYASDK[ver] == 0):
|
if (MAYASDK[ver] == 0):
|
||||||
WARNINGS.append("The registry does not appear to contain a pointer to the "+ver+" SDK.")
|
WARNINGS.append("The registry does not appear to contain a pointer to the "+ver+" SDK.")
|
||||||
@ -506,8 +508,9 @@ MAXVERSIONINFO = [("MAX6", "SOFTWARE\\Autodesk\\3DSMAX\\6.0", "instal
|
|||||||
]
|
]
|
||||||
|
|
||||||
for version,key1,key2,subdir in MAXVERSIONINFO:
|
for version,key1,key2,subdir in MAXVERSIONINFO:
|
||||||
if (OMIT.count(version)==0) and (MAXSDK.has_key(version)==0):
|
if (OMIT.count(version)==0):
|
||||||
if (sys.platform == "win32"):
|
if (sys.platform == "win32"):
|
||||||
|
if (MAXSDK.has_key(version)==0):
|
||||||
top = GetRegistryKey(key1,key2)
|
top = GetRegistryKey(key1,key2)
|
||||||
if (top == 0):
|
if (top == 0):
|
||||||
WARNINGS.append("The registry does not appear to contain a pointer to "+version)
|
WARNINGS.append("The registry does not appear to contain a pointer to "+version)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user