rdb
3e220e4fb4
deploy-stub: Set `Py_OptimizeFlag` to 2 for Python 3.2+
...
This fixes the value of `sys.flags.optimize`, as we always build Python code with `optimize=2` in Python 3.2 and above
In the long run we need a better solution, see #1363
Closes #1359
Fixes #1343
2022-08-31 11:25:35 +02:00
rdb
be2e07637f
gtk-stats: Fix mouse motion detected outside strip chart graph area
...
Cherry-picked from 3a38543f65
2022-02-06 15:29:25 +01:00
rdb
91f3ab01f3
mayapath: Properly handle new bin2/bin3 folders on Windows for Maya 2022
2022-01-06 17:06:16 +01:00
Daniel
afadb556a2
maya: Add support for Maya 2022
...
Closes #1213
2021-12-12 22:20:21 +01:00
Daniel
80892ede94
assimp: Support compilation with Assimp 5.x
...
Closes #1212
2021-12-04 20:44:21 +01:00
rdb
0932009e18
pandatool: Fix typo in bam-info help page
2021-08-03 13:25:56 +02:00
rdb
14e95eec72
assimp: Load normal column as C_normal instead of C_vector
...
Fixes #1163
2021-07-02 15:45:56 +02:00
Daniel
73a2d29c39
maya: Allow more than three eggObjectTypes in a Maya model
...
Closes #1134
2021-03-31 22:57:26 +02:00
rdb
926af198a8
deploy-stub: Fix compilation error
2021-02-06 19:14:25 +01:00
rdb
f55cdd8907
dist: Support strftime-style date formatting in log_filename
...
Fixes #1103
2021-02-06 12:36:14 +01:00
rdb
6520b68c2c
progbase: respect SOURCE_DATE_EPOCH in -write-man option
2021-01-18 16:41:04 +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
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
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
rdb
2880525c1e
deploy-stub: flush output streams before exit
...
Intended to address #946
2020-06-14 11:07:31 +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
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
rdb
518dece368
deploy-ng: strip -psn_* argument that macOS passes to GUI apps
2019-10-25 10:37:02 +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
rdb
2771c29ac9
Make it possible to compile for Maya 2009
2019-08-13 11:49:32 +02:00
rdb
eda709bbfc
deploy-ng: work around Python 2 crash with logging in GUI apps
2019-04-02 01:31:57 +02:00
Sam Edwards
ff06135412
win-stats: Define WIN32_LEAN_AND_MEAN before including windows.h
...
This prevents pulling in winsock 1, which will cause compiler
errors when p3net later tries to pull in winsock 2.
2019-03-18 01:53:36 -06:00
rdb
8ba6a0d844
assimp: don't reuse Importer object when loading multiple models
...
This works around a crash in v4.1.0 when loading multiple .ply files in sequence. (I have not reproduced the crash with the latest Assimp master.)
2019-02-19 21:23:37 +01:00
rdb
094458a8df
xfile: fix read from uninitialized memory (see #554 )
2019-02-12 15:40:31 +01:00
tc
e1e5b907c1
add aiProcess_GenNormals + aiProcess_GenSmoothNormals
2019-01-11 00:07:17 +01:00
rdb
84a1315104
More fixes to work around broken libc++ eof() in Mac OS X 10.7
2019-01-10 21:53:02 +01:00
rdb
3e5f2cf672
flt: fix crash due to macOS libc++ bug in istream::eof()
...
Apparently eof() in older versions of libc++ returns true if the last character has just been read, whereas the proper behavior is only to return true when attempting to read past the end of the stream. Since failbit is reliably set in all cases when reading past the length of the stream, we should only trust the result of eof() if fail() also returns true.
2019-01-09 22:54:36 +01:00
rdb
7d398c9aba
flt: prevent zero-byte allocation
2019-01-09 22:46:34 +01:00
rdb
01915a36db
Merge branch 'master' into deploy-ng
2018-12-26 23:41:50 +01:00
rdb
bd6ef2b0ea
Rename CollisionTube to CollisionCapsule (bam 6.44)
...
Adds ability to register "obsolete" names for certain types under older .bam versions, so that we are still able to write out old .bam files.
Fixes #347
2018-12-23 22:28:06 +01:00
rdb
2664a24e6a
deploy-ng: fix redirecting GUI app output to log in VC2015/UCRT
...
Fixes #461
2018-12-02 20:23:09 +01:00
rdb
3124564040
deploy-ng: fix crash when using local logfile in non-writable dir
...
Fixes #462
2018-12-02 16:27:08 +01:00
rdb
f2f4b4c264
Merge branch 'master' into deploy-ng
2018-12-02 16:26:13 +01:00
rdb
cf277ebf6c
maya2egg: fix a potential crash (see #434 )
2018-12-02 12:13:58 +01:00
rdb
d7124d4df4
Merge branch 'master' into deploy-ng
2018-11-29 12:57:49 +01:00
rdb
97d4e32a06
general: use nassert_raise instead of nassertv(false) et al
...
Even a brief error message in the assertion is infinitely more useful to a user who is not at home in the source code, especially for assertions that may reasonably be triggered by honest user mistakes.
2018-11-28 17:35:20 +01:00
rdb
3d7fcf2ce9
Merge branch 'master' into deploy-ng
2018-11-12 18:31:43 +01:00
Sam Edwards
a9dfd8352e
general: Distinguish local/system includes
...
This changes includes so that local includes are consistently
#include "localFile.h"
while system and third-party includes are consistently
#include <systemFile.h>
This commit mostly converts the former to the latter; the two
exceptions are in android_main.cxx and fmodAudioSound.h, where
the reverse was necessary.
2018-11-10 18:00:10 -07:00
Sam Edwards
29beb0f043
assimp: Update include path
...
This changes the Assimp include path to point to the
directory containing assimp/ instead of inside assimp/
directly. This is for consistency with how the Assimp
project defines their "include path" and keeps the actual
inclusions themselves unambiguous (since Assimp's headers
have fairly generic filenames).
2018-11-10 18:00:09 -07:00
rdb
a799bcaec9
Merge branch 'master' into deploy-ng
2018-11-03 22:51:32 +01:00
rdb
5ac3cf3fc6
Eliminate C++ DConfig; replace it with a Python compatibility shim
2018-11-02 23:27:07 +01:00
rdb
14411f592e
Remove obsolete .init files in configfiles directories
...
These look like they were part of some now-defunct Disney tool.
2018-11-01 16:26:07 +01:00
rdb
54b3474670
Merge branch 'master' into deploy-ng
2018-10-28 20:47:36 +01:00
Sam Edwards
43142e4e80
pandatool: Delete softegg/softprogs
...
These depend on "SAA" - a Softimage library so long gone I
can't even find references to it on Google.
2018-10-28 04:08:15 -06:00