mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Maya changes for linux
This commit is contained in:
parent
285a66ac23
commit
ff89107e84
@ -17,7 +17,9 @@
|
||||
#include "config_mayaegg.h"
|
||||
#include "config_maya.h" // for maya_cat
|
||||
#include "globPattern.h"
|
||||
#include "pystub.h"
|
||||
#ifdef _WIN32
|
||||
#include "pystub.h"
|
||||
#endif
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Function: MayaToEgg::Constructor
|
||||
@ -282,11 +284,15 @@ dispatch_transform_type(const string &opt, const string &arg, void *var) {
|
||||
}
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
// We don't want pystub on linux, since it gives problems with Maya's python.
|
||||
#ifdef _WIN32
|
||||
// A call to pystub() to force libpystub.so to be linked in.
|
||||
pystub();
|
||||
#endif
|
||||
|
||||
MayaToEgg prog;
|
||||
prog.parse_command_line(argc, argv);
|
||||
prog.run();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user