mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
support for Maya2012
This commit is contained in:
parent
438ab5a1fd
commit
196cdef8a2
@ -40,6 +40,7 @@ MAYAVERSIONINFO=[("MAYA6", "6.0"),
|
|||||||
("MAYA2009","2009"),
|
("MAYA2009","2009"),
|
||||||
("MAYA2010","2010"),
|
("MAYA2010","2010"),
|
||||||
("MAYA2011","2011"),
|
("MAYA2011","2011"),
|
||||||
|
("MAYA2012","2012"),
|
||||||
]
|
]
|
||||||
|
|
||||||
MAXVERSIONINFO = [("MAX6", "SOFTWARE\\Autodesk\\3DSMAX\\6.0", "installdir", "maxsdk\\cssdk\\include"),
|
MAXVERSIONINFO = [("MAX6", "SOFTWARE\\Autodesk\\3DSMAX\\6.0", "installdir", "maxsdk\\cssdk\\include"),
|
||||||
|
@ -58,6 +58,7 @@ struct { char *ver, *key; } maya_versions[] = {
|
|||||||
{ "MAYA2009", "2009" },
|
{ "MAYA2009", "2009" },
|
||||||
{ "MAYA2010", "2010" },
|
{ "MAYA2010", "2010" },
|
||||||
{ "MAYA2011", "2011"},
|
{ "MAYA2011", "2011"},
|
||||||
|
{ "MAYA2012", "2012"},
|
||||||
{ 0, 0 },
|
{ 0, 0 },
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -288,8 +289,8 @@ int main(int argc, char **argv)
|
|||||||
// bin\python25.zip (within loc)
|
// bin\python25.zip (within loc)
|
||||||
// Python\lib\site-packages (within loc)
|
// Python\lib\site-packages (within loc)
|
||||||
// ...so set PYTHONPATH accordingly:
|
// ...so set PYTHONPATH accordingly:
|
||||||
if (strcmp(key, "2011") == 0) {
|
if (strcmp(key, "2011") == 0 || strcmp(key, "2012") == 0) {
|
||||||
//Maya 2011 is built against Python 2.6 so look for that one instead
|
//Maya 2011 and 2012 are built against Python 2.6 so look for that one instead
|
||||||
sprintf(env4, "PYTHONPATH=%s\\bin\\python26.zip;%s\\Python\\lib\\site-packages", loc, loc);
|
sprintf(env4, "PYTHONPATH=%s\\bin\\python26.zip;%s\\Python\\lib\\site-packages", loc, loc);
|
||||||
} else {
|
} else {
|
||||||
sprintf(env4, "PYTHONPATH=%s\\bin\\python25.zip;%s\\Python\\lib\\site-packages", loc, loc);
|
sprintf(env4, "PYTHONPATH=%s\\bin\\python25.zip;%s\\Python\\lib\\site-packages", loc, loc);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user