Commit Graph

1640 Commits

Author SHA1 Message Date
kamgha aa58b4ccf2 palettizer: Fix magfilter on KW_mipmap
Closes #1631
2024-03-27 11:12:58 +01:00
rdb 4f7b153c3f egg-qtess: Fix an unused variable warning 2024-03-12 15:32:44 +01:00
rdb b49dbaca2b Report errors if calls to `close()` fail 2024-01-25 12:33:20 +01:00
kamgha 25b85041d5 egg-palettize: fix writing Magfilter
Fixes a typo that applied the value from the Minfilter to the entry of the Magfilter.

Closes #1585
2024-01-04 16:22:30 +01:00
rdb 0121e74aa4 assimp: Add assimp-disable-extensions config var (for #1537)
This can be used to disable certain extensions from being loaded via Assimp

Also makes the `get_additional_extensions()` method a bit more efficient by having it avoid string concatenation, using a temporary buffer instead
2023-10-22 11:59:30 +02:00
rdb 2e42400700 deploy-stub: Fix crash when running in Python 3.11
Fixes #1423
2023-01-09 13:19:09 +01:00
rdb fb14c29525 pstats: Server can handle new protocol version 2.3
It changes the following things:
* Changes the counts in the PStatFrameData from uint16 to uint32, since I was hitting the value limit in some heavy frames with Python profiling enabled - no good reason for this limitation, so this allows removing it later
* Adds a T_expire_thread message, which I can use later to fix #450

These features are not used on the client side, but will be used on master.  Adding these changes here now makes it possible to use a master client with a 1.10.13 version of the server (can be useful if you can't compile Panda on the host).
2022-12-10 19:45:29 +01:00
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