23855 Commits

Author SHA1 Message Date
rdb
e0c3c8a8d9 filter: Add docstring for CommonFilters.setMSAA
[skip ci]
2022-10-25 17:51:32 +02:00
rdb
a71b417aec filter: Add "MSAA" filter to CommonFilters
This provides an easy way to enable MSAA for the offscreen color buffer only without having to enable it on the main window.

When using this filter, it is important to have framebuffer-multisample turned off in Config.prc.
2022-10-25 16:26:30 +02:00
rdb
4d2a45f124 glgsg: Fix multisample FBOs with MRT blitting aux target into color target 2022-10-25 16:25:50 +02:00
rdb
1a72311243 bullet: Fix LMatrix3<>btMatrix3x3 conversion functions 2022-10-25 12:10:44 +02:00
rdb
693b4d3fb3 bullet: Fix BulletAllHitsRayResult::empty() compiler warning 2022-10-25 12:08:50 +02:00
rdb
ef9c9fa20e bullet: Fix BulletWheel::empty() referencing local objects 2022-10-25 12:08:06 +02:00
rdb
cc24b5373d pgraph: Fix PandaNode::_nested_vertices not updating properly
The problem was that `PandaNode::update_cached()` queries the node's `_internal_vertices` *before* calling `get_internal_bounds()` (which is what actually calculates it).
2022-10-25 11:35:29 +02:00
rdb
9a53a3bf31 cppparser: Fix an instance of pvector being used instead of std::vector
Also see #539 (but doesn't fully resolve this case because DSearchPath also uses pvector)

[skip ci]
2022-10-24 13:43:29 +02:00
rdb
accd130c83 display: Fix RTT attachment modified flag not propagating through pipeline
Fixes #1364 (the other half)
2022-10-24 13:17:42 +02:00
rdb
c799146cc9 glgsg: Fix stencil renderbuffer not being unbound when binding depth tex
Fixes part of #1364
2022-10-24 13:17:42 +02:00
rdb
d4b8bb63ba pgraph: Proper deprecated marking for PandaNode::set_bound()
[skip ci]
2022-10-24 01:42:03 +02:00
rdb
e113503538 daeegg: Fix a compiler warning 2022-10-24 01:39:52 +02:00
rdb
2396bd26dc deadrec: Fix compiler warning 2022-10-23 17:01:02 +02:00
rdb
dd662a6eaa cppparser: Fix syntax error with C++11 attributes in declarators 2022-10-23 17:01:02 +02:00
rdb
6fe25d3edc shader: Fix attr_fogcolor not picking up inter-frame changes
Fixes shader generator not responding to fog color changes
2022-10-22 16:03:52 +02:00
rdb
d0b7574384 pgraph: Add missing PandaNodePipelineReader::get_into_collide_mask() 2022-10-22 15:49:40 +02:00
rdb
8bed85740f pgraph: Fix race condition when destructing/constructing NodePaths
Fixes #1366
2022-10-22 15:48:23 +02:00
rdb
00de2771fc dcparser: fix Python 3 regression unpacking uint types
Backport of d1d0dab9900c65aad7617e709428c812c6b56b37 (#1380)

Co-authored-by: Nat <56046513+NathaanTFM@users.noreply.github.com>
2022-10-22 10:31:26 +02:00
rdb
9efdf9919c collide: Implement capsule-into-polygon intersection test
There is one edge case (literally) where the reported interior point isn't deep enough, which is when the capsule hits the edge of a polygon at a steep angle, but it will still push it out eventually, so whatever.

Fixes #1369
2022-10-20 17:14:54 +02:00
rdb
bb8b08a690 interrogatedb: Add interrogate_wrapper_is_extension() function 2022-10-20 10:09:45 +02:00
rdb
0b7c694f10 linmath: Make mat.rows[n] and mat.cols[n] assignable to 2022-10-19 16:04:57 +02:00
rdb
25d11b3b17 interrogatedb: Add more query functions for seq/map elements 2022-10-19 16:04:37 +02:00
rdb
0c03dfca05 egg: Some comment reformatting
[skip ci]
2022-10-19 16:04:15 +02:00
rdb
77e3033c42 makepanda: Fix ExecutionEnvironment.args being empty on Linux 2022-10-19 15:45:40 +02:00
rdb
a8eef28708 glgsg: Fix error when downloading luminance8 texture 2022-10-19 12:20:06 +02:00
rdb
cd7abbb797 makepanda: Copy missing CMotionTrail header file 2022-10-17 16:39:42 +02:00
rdb
834be5c7a0 interrogate: Fix some badly formatted code 2022-10-10 15:10:53 +02:00
rdb
e6036b5209 interrogatedb: More queries for function wrappers:
- `interrogate_wrapper_function(wrapper)`
- `interrogate_wrapper_is_copy_constructor(wrapper)`
- `interrogate_wrapper_is_coerce_constructor(wrapper)`
2022-10-10 15:09:28 +02:00
DJs3000
f6fac95a78 Added e2k support (MCST Elbrus 2000) (#1367)
Closes #1367
2022-10-03 18:29:41 +02:00
rdb
6ad68d95cb device: Fix missing init_type for InputDeviceNode 2022-09-28 06:32:46 +02:00
rdb
67110156d8 Bump version number on release/1.10.x branch to 1.10.13 2022-09-02 23:09:11 +02:00
LD
e30d88d9db showbase: Fix regression with BufferViewer in double prec build
Regression was introduced in 98314da00ff9d1d0ef567f1a82796862462f6540

Use explicitly Vec3F in calls to addData3f to avoid crash on double precision builds

Closes #1365
2022-09-02 23:08:07 +02:00
rdb
50a34900c3 Add Python 3.11 to setup.cfg
[skip ci]
v1.10.12
2022-09-02 07:56:10 +02:00
rdb
2bd34a806d dist: Add hidden imports for scipy 2022-09-02 07:54:34 +02:00
rdb
48b0819cda rocket: Don't try to build Boost binding code for Python 3
libRocket doesn't support Python 3 anyway, and it has an error compiling with Python 3.11

[skip ci]
2022-09-01 19:41:37 +02:00
Paul m. p. P
590531a0b2 py_panda: Fix compilation issue with Python 3.11
(Cherry-picked from 833ad89ebad58395d0af0b7ec08538e5e4308265)
2022-09-01 19:18:46 +02:00
rdb
1f6545c885 readme: Update version number to 1.10.12
[skip ci]
2022-09-01 18:16:55 +02:00
rdb
5443377d8b doc: Update release notes for 1.10.12
[skip ci]
2022-09-01 18:11:59 +02:00
LD
12ae2973ae cocoadisplay: Disable the event suppression interval when moving the position of the mouse pointer 2022-09-01 09:07:16 +02:00
LD
102da5bc35 cocoadisplay: Don't use position delta for confined mouse mode as it lead to invalid estimation of the pointer position 2022-09-01 09:07:16 +02:00
LD
69bf5fa626 cocoadisplay: Remove overzealous coordinates transform performed on mouse position 2022-09-01 09:07:16 +02:00
LD
105f9abbfa cocoadisplay: Trigger handle_move_event() when a resize event is received to also update the origin of the window if needed 2022-09-01 09:07:16 +02:00
rdb
88ba7badd4 collide: Fix false negative when sphere is fully inside box
Fixes #1335
2022-08-31 16:23:15 +02:00
rdb
ba8c1f0325 dist: Fix finding sysconfigdata module in Python 3.6 and 3.7
Also fix fatal error when sysconfigdata module isn't found (may be use of older wheels), just report it as a missing module

Fixes #1326 for Python 3.6 and 3.7
2022-08-31 13:50:10 +02:00
WMOkiishi
813490b2c7 interrogatedb: Add functions to interrogate_interface.h:
- `interrogate_function_is_unary_op`
- `interrogate_function_is_operator_typecast`
- `interrogate_type_is_array`
- `interrogate_type_array_size`

Closes #1362
2022-08-31 11:56:10 +02:00
Disyer
d7c602d203 ffmpeg: Resolve segmentation fault when statically linking ffmpeg
Closes #1340
2022-08-31 11:56:10 +02:00
rdb
899cbb9fff shadow: Add shadow-cube-map-filter setting, disabled by default
Enabling this will enable the `FT_shadow` filter for cube maps, which doesn't work with Cg shaders (incl. shader generator) but does with custom GLSL shaders

This will be enabled by default once the shaderpipeline branch is merged

Fixes #1332
2022-08-31 11:41:48 +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
8617eb917c makepanda: Force DT_RPATH instead of DT_RUNPATH for deploy-stub
Fixes #1358
2022-08-31 10:28:08 +02:00
rdb
c966a6898c makepanda: Fix naming of wheels for macOS 12.0 2022-08-31 09:22:40 +02:00