Commit Graph

1712 Commits

Author SHA1 Message Date
Donny Lawrence 7b83eac943 CMake: Build deploy-stub
Closes #918

Co-authored-by: rdb <git@rdb.name>
2020-12-29 20:45:30 +01:00
Daniel 74a4648965 mayaprogs: Completely refactor the maya2egg server
The maya2egg_server utility is no longer a separate utility. To run the maya2egg_server (now Maya conversion server), use `maya2egg -server` or `egg2maya -server`.

Two new utilities have been added: `maya2egg_client` and `egg2maya_client`. Both of them are Maya version independent, and do not rely on any Maya libraries. However, they're only built with SDKs that already come with the Maya binaries, as the server makes its own assumptions about the current working directory (the client and the server are expected to be on the same machine.)

A new feature has been added to ProgramBase: an `exit_on_complete` flag, which allows you to parse the command line without exiting the program upon a failure or a help command.

In addition to this, a getopt bug has been fixed in ProgramBase: It is now possible to clear the state of the Panda implementation of getopt, making it possible once again to parse command line arguments twice in a row.

Closes #1025
2020-12-29 16:16:36 +01:00
rdb b38e9d552a Merge branch 'release/1.10.x' 2020-12-28 16:26:48 +01:00
rdb f2e66a280c deploy-stub: Fix immediate exit on Windows if no log_filename is set 2020-12-28 15:27:56 +01:00
rdb e060a29228 general: Clean up hacks to support Python 3.5 from codebase 2020-10-02 12:07:04 +02:00
rdb 66ac3be604 Merge branch 'release/1.10.x' into master 2020-09-12 23:23:58 +02:00
rdb 0c2f8fec3c palettizer: fix missing case for F_srgb and F_srgb_alpha 2020-09-12 22:57:59 +02:00
rdb ce4690b869 deploy-stub: disable PYTHONINSPECT mechanism in +opt builds 2020-09-12 15:10:03 +02:00
rdb e443acd7a0 deploy-stub: Enable line_buffering on Windows when writing to log file
Fixes #947
2020-09-12 15:04:14 +02:00
rdb a94914fd86 deploy-stub: forward compat with Python 4.0 2020-09-12 15:00:41 +02:00
rdb 707ea089cb Merge remote-tracking branch 'origin/release/1.10.x' 2020-09-01 11:09:29 +02:00
Daniel 216475091e maya: Silence compiler warning 2020-09-01 11:00:53 +02:00
Daniel 1f504f6031 mayaegg: Fix animations not being created during egg traversal
Closes #1004
2020-09-01 11:00:31 +02:00
Tohka c4af56620b gobj: Support registering texture pool filters from Python code
Closes #954
2020-07-25 14:54:32 +02:00
rdb d01c53c2d8 Merge branch 'release/1.10.x' 2020-06-14 13:02:25 +02:00
rdb 2880525c1e deploy-stub: flush output streams before exit
Intended to address #946
2020-06-14 11:07:31 +02:00
rdb e4573ef0fe cleanup: Remove more unnecessary nullptr checks before delete
Follow-up to #934
2020-05-05 14:46:30 +02:00
rdb 1ff11c1e16 cleanup: Removal of unnecessary null checks around `delete`
Fixes #934
2020-05-05 10:41:16 +02:00
Chitresh13 929202bd9b dist: Remove Python 2 code from deployment system
Closes #892

Co-authored-by: rdb <git@rdb.name>
2020-04-26 20:22:11 +02:00
rdb df4d6fd2dd CMake: don't build egg2dae
This is not a finished tool, which is why we don't build it in makepanda
2020-04-13 15:10:28 +02:00
rdb 30d9f88f8e Merge branch 'release/1.10.x' 2020-04-01 18:53:00 +02:00
rdb fc71fef27d deploy-stub: chdir to Resources dir in GUI macOS app bundle
This prevents a common error of trying to load non-Panda3D assets without specifying $MAIN_DIR.  We aren't currently making any guarantees about the cwd (which may in fact be / when launching from Finder), so I think this is safe.
2020-03-30 15:54:50 +02:00
Leandro (Cerberus1746) Benedet Garcia 5f7809469c general: removed all WIN32, WIN32_VC and friends 2020-02-05 22:45:03 -07:00
rdb b272af8bbf Merge branch 'cmake' 2020-01-22 11:20:51 +01:00
Sam Edwards 1eaf1654cd CMake: Don't build egg-mkfont without Freetype 2020-01-07 11:34:34 -07:00
rdb b78b7be326 Merge branch 'release/1.10.x' 2019-12-30 01:50:54 +01:00
rdb c2a5b08de5 mayapath: fix maya tools when running from pip installation
Fixes #709
2019-12-28 20:58:13 +01:00
rdb 1c50abb79b Add support for Maya 2020 2019-12-28 20:57:21 +01:00
Sam Edwards 9b7bcf2564 Merge branch 'master' into cmake 2019-11-07 21:21:04 -07:00
rdb a72be90f17 Merge branch 'release/1.10.x' 2019-10-29 23:13:22 +01:00
rdb 518dece368 deploy-ng: strip -psn_* argument that macOS passes to GUI apps 2019-10-25 10:37:02 +02:00
Sam Edwards dbe7a2f94b Merge branch 'master' into cmake 2019-09-06 04:05:12 -06:00
Sam Edwards b86332376c CMake: Move Assimp plugin to its own install component 2019-09-06 01:51:51 -06:00
rdb 35135ea0e1 Merge branch 'release/1.10.x' 2019-09-01 21:54:57 +02:00
rdb 191a5b09e9 bin2c: fix compilation warning 2019-09-01 21:46:41 +02:00
rdb 4d254177ba general: Fix missing notifyCategoryProxy.h includes 2019-09-01 21:44:42 +02:00
Sam Edwards 5fa4af9189 CMake: Rely on GNUInstallDirs to specify install paths
This makes multiarch OSes happy as they can dictate that
64-bit libraries go into 'lib64'
2019-08-31 00:48:42 -06:00
Sam Edwards 19ed9f6b47 Merge branch 'master' into cmake 2019-08-24 18:07:12 -06:00
Sam Edwards abc941245e general: Fix missing includes (and one forward declaration) 2019-08-24 18:05:28 -06:00
rdb 5e7e64179b cleanup: fix a host of unprotected debug/spam messages 2019-08-23 18:58:57 +02:00
Sam Edwards c16092fe8a CMake: Workaround for some export errors when doing a static build
This refuses to export/install the p3assimp/p3ptloader/p3txafile
libraries when building statically, because they depend on libraries
that are never installed, and static linkage would require all of the
dependencies to be available.

A more proper fix would involve installing these base libraries, but
only when doing a static build. I suspect nobody will ask for that,
so I haven't done it.
2019-08-19 18:50:53 -06:00
rdb 35efdaebdb mayapath: remove PANDA_INCOMPATIBLE_PYTHON var, no longer used 2019-08-18 22:35:11 +02:00
rdb a40228202b Merge branch 'release/1.10.x' 2019-08-18 22:34:23 +02:00
rdb 2771c29ac9 Make it possible to compile for Maya 2009 2019-08-13 11:49:32 +02:00
rdb 42d112d08d assimp: fix some issues with importing rigged characters 2019-07-25 20:48:03 +02:00
Mitchell Stokes cb7dbfc219 Remove unused files there were referencing ToonTown
Closes #659
2019-06-07 22:11:58 +02:00
Sam Edwards b8f3c7eb63 CMake: Move some symbols from dtool_config.h to -D flags
The symbols moved aren't used in any headers, so they don't
have to be in the installed dtool_config.h. Removing them
keeps the recompiling to a minimum when an optional feature
is toggled.
2019-04-15 22:16:05 -06:00
Sam Edwards 6097d34ead CMake: Neatly format everything for readability and consistency 2019-04-14 22:37:18 -06:00
Sam Edwards 671f15e052 Merge branch 'master' into cmake 2019-04-13 17:29:44 -06:00
rdb 552916efea Merge branch 'release/1.10.x' 2019-04-09 13:31:51 +02:00