rdb
32ebe11b06
dist: Add an option to retain docstrings in compiled Python code
...
Fixes #1341
2022-12-06 15:21:39 +01:00
rdb
ffbfdb22e0
dist: Add `prefer_discrete_gpu` option to force use of dedicated GPU
...
Currently only implemented on Windows.
Fixes #680
2022-12-06 15:20:57 +01:00
rdb
7b9f2cd854
pstats: Support nested start/stop pairs in the server, accept 3.1
...
Currently, the client doesn't send nested start/stop pairs, but there is no good reason not to handle this case in the server, and in some cases it is useful to send them (I will soon make changes on master to take advantage of this).
Client version 3.1 indicates that the client may send nested start/stop pairs.
2022-11-29 15:48:02 +01:00
rdb
3468b95fa9
pstats: Show collector start/stop pair count in time-based graphs
...
It can be very useful to know how often a collector was invoked in a frame, not just how long it took. This adds a number to the upper-right corner showing exactly that (but not aggregated, just for leaf collectors).
2022-11-29 13:01:55 +01:00
rdb
5247446500
pstats: Performance improvements for time-based strip charts
...
Remove the use of set and list, which are allocator-heavy and insertion was a bottleneck. Since each sample occurs only once on the linked list, we can more efficiently roll our own linked list with next and prev pointers, so no allocation needed. Instead of the set, we can just store a per-collector flag.
2022-11-29 12:51:04 +01:00
rdb
d893b21f2b
assimp: Fix assert loading meshes with multiple primitive types
2022-11-19 13:12:14 +01:00
rdb
db6ea00967
assimp: Add assimp-collapse-dummy-root-node option
...
This is false for now, but will be true in the future.
See #366
2022-11-03 13:18:49 +01:00
rdb
1fd2e124cf
assimp: Fix unprotected debug statements
2022-11-03 13:14:07 +01:00
rdb
2044861597
assimp: Support custom object properties as tags
2022-11-02 23:02:33 +01:00
rdb
ffe2137680
assimp: Support reading additional texture maps, as well as PBR
2022-11-02 23:02:21 +01:00
rdb
286cf0d286
assimp: Improve performance of loading geometry
2022-11-02 23:02:21 +01:00
rdb
162a7b2c34
assimp: Support reading tangents and binormals
2022-11-02 23:02:21 +01:00
rdb
5a483e3899
assimp: Fix a typo in a config var description
2022-11-02 23:02:21 +01:00
rdb
6e636f5ca0
assimp: Fix issues reading external files
2022-11-02 23:02:20 +01:00
rdb
b254e5b7ba
assimp: Support importing alpha mode from glTF files
2022-11-02 23:02:20 +01:00
rdb
9248182a0b
assimp: Support texture transforms
2022-11-02 23:02:20 +01:00
rdb
356e974029
ptloader: Fix wrong initialization order issue
2022-11-02 23:02:20 +01:00
rdb
2226f8de9e
assimp: Add support for texture wrapping modes
2022-11-02 19:35:10 +01:00
rdb
09a81e0d68
assimp: Fix memory corruption in load_texture_stage()
2022-11-02 19:34:39 +01:00
rdb
e113503538
daeegg: Fix a compiler warning
2022-10-24 01:39:52 +02:00
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