24046 Commits

Author SHA1 Message Date
rdb
6aef8159b1 leveleditor: Fix use of removed cmp() function 2023-02-20 17:29:00 +01:00
rdb
df1ef1bfaf Update BACKERS.md
[skip ci]
2023-02-13 12:04:27 +01:00
rdb
bd71541e5f readme: Update link pointing to old manual
[skip ci]
2023-02-13 11:32:46 +01:00
rdb
aaabb6a652 Fix assorted issues uncovered by clang-tidy 2023-02-12 13:55:59 +01:00
rdb
914993f31b putil: Fix SimpleHashMap error reporting at static init time 2023-02-12 13:49:44 +01:00
rdb
a9e9cfae1c py_panda: Fix definition of _PyErr_OCCURRED for Python >3.12.0a5
It should not be redefined for Python versions after 3.3.3, and if it's not defined by Python, it should just map to PyErr_Occurred()

See also #1457
2023-02-12 13:22:16 +01:00
rdb
173dd67b52 glgsg: Fix p3d_LightModel.ambient not updating properly 2023-02-12 13:07:14 +01:00
rdb
3d7c2505e9 pnmimagetypes: Fix memory leaks writing TIFF files 2023-02-11 15:21:16 +01:00
rdb
718bac1c69 audiotraits: Fix crash when encountering corruption in OpenAL stream
Partial backport of #1452
2023-02-03 14:44:14 +01:00
rdb
a20996d2aa pgraphnodes: Support missing texture types in shader generator:
- Cube arrays
- 1D texture arrays
- Buffer textures

Not to say that they are displayed meaningfully, but better than a cryptic error message.
2023-01-31 17:40:55 +01:00
rdb
d69d393e4c glgsg: Set ultimate Cg profiles to gp5vp/gp5fp/gp5gp
These support the most features, including cube map arrays (which aren't even supported in glslv/glslf)

This improves the quality of error messages, eg. using cube map arrays will no longer display a cryptic error about no overload of texCUBEARRAY() being available
2023-01-31 17:38:54 +01:00
rdb
52c7d6bddb shader: Add missing handling for 1D array textures in Cg shaders 2023-01-31 17:37:18 +01:00
rdb
51d0a55264 general: Fix silly new clang warning about unprefixed std::move() 2023-01-31 15:38:02 +01:00
rdb
614502d183 gobj: Add note to API doc about maximum stride value 2023-01-31 15:36:43 +01:00
rdb
c5ccd6232d glgsg: Prevent exceeding max supported vertex attrib stride
See also Moguri/panda3d-gltf#117
2023-01-31 15:30:52 +01:00
rdb
ef58255abd vision: Fix another use of wrong delete operator in ARToolKit code 2023-01-27 10:40:47 +01:00
Fireclaw
e14d43ebe5 dmodels: Fixed broken minusnode icon
Closes #1449
2023-01-27 10:29:49 +01:00
LD
518ee0fb8e cocoadisplay: Capture display before switching to fullscreen mode 2023-01-20 18:16:43 +01:00
rdb
4b992105e1 ShaderGenerator: Fix support for hardware point sprites
In gp5fp and glslf profiles, we can rely on per-fragment point coordinates to be available, otherwise we have to emulate support by calculating it from the fragment pixel coordinates
2023-01-16 19:33:09 +01:00
Disyer
6cb074e5c8 distributed: Fix segfault when ConnectionRepository is verbose by holding GIL
Also removes obsolete USE_PYTHON_2_2_OR_EARLIER macro

Closes #1430
2023-01-16 15:14:31 +01:00
rdb
e696ac4046 cocoa: Fix black bar when switching to fullscreen while z-order is top 2023-01-13 22:05:06 +01:00
rdb
76386bc4c0 cocoa: Fix window sizing bug when simultaneously changing undecorated 2023-01-13 22:04:42 +01:00
rdb
8c5e2e74f5 cocoa: Fix undecorated setting ignored when switching off fullscreen 2023-01-13 22:03:33 +01:00
rdb
7a8e218da7 glgsg: Correctly handle 4-component texcoords in default shader 2023-01-13 19:35:45 +01:00
rdb
67c413f089 dxgsg9: Fix issues setting some kinds of automatic shader inputs 2023-01-13 19:19:16 +01:00
rdb
709555577f ShaderGenerator: Add support for perspective points
Fixes #1440
2023-01-13 19:12:01 +01:00
rdb
6ad50b5cb1 ShaderGenerator: implement remaining missing TexGenAttrib modes
Fixes #1437
2023-01-13 17:04:04 +01:00
rdb
10f4c6bb21 shader: Add texconst_i shader input for Cg shaders to access TexGen constant 2023-01-13 17:02:15 +01:00
rdb
21347bb2d5 glgsg: Fix bug if same texture is used with different tex gen modes in FFP 2023-01-13 17:00:12 +01:00
rdb
86a1973f89 x11display: Clean up cursor filename map after freeing it
Not essential, but slightly neater
2023-01-13 14:53:25 +01:00
rdb
6404704ee3 x11display: Attempt to fix crash on shutdown with custom cursor 2023-01-12 22:51:49 +01:00
rdb
1867094afe Bump version number on release/1.10.x branch to 1.10.14 2023-01-09 13:25:26 +01:00
rdb
2e42400700 deploy-stub: Fix crash when running in Python 3.11
Fixes #1423
2023-01-09 13:19:09 +01:00
rdb
470e352ab8 readme: Update version number to 1.10.13
[skip ci]
v1.10.13
2022-12-20 12:33:42 +01:00
rdb
0911040999 express: Fix compile error with GCC 2022-12-19 16:38:19 +01:00
rdb
896346b99f gobj: Implement copy.deepcopy() for Texture class
Actually ensures that the underlying RAM images are really fully unique.
2022-12-19 16:22:33 +01:00
rdb
e67cd74725 express: Implement copy.deepcopy() for PointerToArray
It actually makes a unique copy of the underlying array.
2022-12-19 16:22:00 +01:00
rdb
0ace26a938 gobj: Fix double-precision colors not being clamped in GeomVertexWriter 2022-12-19 15:18:04 +01:00
rdb
eafcfe1d70 motiontrail: Fix Python implementation error in double-prec mode 2022-12-19 15:17:19 +01:00
rdb
e5a8eb5b1d cocoadisplay: Fix Command+Q in green-button-style fullscreen mode
It seems macOS has an extra NSWindow without a delegate in this mode
2022-12-19 12:55:57 +01:00
rdb
7f916eeb74 gobj: Don't wastefully compute bounds for Geom with custom bounds
This was done by `get_nested_vertices()`, which now won't call the expensive `compute_internal_bounds()` if there was a custom bounding volume set.
2022-12-16 20:18:57 +01:00
rdb
32297ecd02 showbase: Fix some members not showing up in API documentation 2022-12-16 19:37:49 +01:00
rdb
42372e139c motiontrail: Update API documentation 2022-12-16 19:37:28 +01:00
rdb
86c3ec7827 doc: Add release notes for 1.10.13 2022-12-16 17:16:21 +01:00
rdb
81ea202dea samples: Add new motion trails sample
Co-authored-by: Entikan <momojo@rocketship.com>
2022-12-16 16:20:52 +01:00
rdb
19186781f3 motiontrail: Clean up and optimization of C++ implementation 2022-12-16 16:14:06 +01:00
rdb
9cb60ccd93 cocoadisplay: Fix oversized window getting an awkward offset
We currently do the centering based on the total screen size, not the screen size that macOS actually lets us use.

See #1312
2022-12-16 16:07:58 +01:00
rdb
38528b797b downloader: Initialize winsock even if nativenet is compiled out
Fixes HTTPClient when static linking if nativenet is not used and therefore init_network() is compiled out
2022-12-15 19:51:18 +01:00
rdb
8ab37b8804 motiontrail: Add easier way to call add_vertex()
Currently, you must pass in a function, which is a little awkward compared to just passing in a position.  Now you can just pass in a vertex position, similar to the C++ interface.
2022-12-15 17:58:46 +01:00
rdb
154223d075 motiontrail: Clean up and document MotionTrail class 2022-12-15 17:58:23 +01:00