25338 Commits

Author SHA1 Message Date
rdb
dd3510eea7 Merge branch 'release/1.10.x' 2021-04-08 12:30:35 +02:00
rdb
5be46c4124 dgui: Fix DirectSlider unit test failure 2021-04-08 12:28:22 +02:00
rdb
4a7d03d9b1 pnmtext: Fix loading an invalid font resulting in a crash
Related to #1140
2021-04-08 12:08:03 +02:00
rdb
addbc8a2e8 dtoolutil: Work around odd Linux bug with lseek on a directory fd
Fixes #1140
2021-04-08 12:07:00 +02:00
rdb
ab4367ee7b glgsg: Fixes to format selection in OpenGL renderbuffers
Fixes #1137
2021-04-07 00:20:38 +02:00
rdb
bcb61fec09 pgraphnodes: Fix draw callback called twice in certain cases
This would happen if you call upcall() in a CallbackNode's cull callback.
2021-04-06 16:38:51 +02:00
rdb
67b6729d38 Also switch from Travis to GitHub Actions on release branch 2021-04-05 17:26:29 +02:00
rdb
51a6923008 device: Work around FreeBSD kernel bug for querying gamepad axes
This is to support older kernels, which always returned 0 from successful ioctl, rather than the number of bits.  This was fixed in the FreeBSD kernel trunk.
2021-04-05 17:19:47 +02:00
rdb
7be4b7c3bb device: Support evdev gamepads on FreeBSD 2021-04-05 17:14:30 +02:00
Daniel
bb6a66a582 direct: Fix undefined ConfigVariableBool name in ClockDelta 2021-04-01 17:08:13 +03:00
rdb
e034e7f4b3 Merge branch 'release/1.10.x' 2021-03-31 23:08:21 +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
fa73657d03 pgui: Revert part of f2e488fd6b39a6fca54c0be79378955157a266de
This caused a regression due to a removal of update_frame invocation in single-threaded pipeline, needs to be revisited later on master branch
2021-03-31 17:27:11 +02:00
rdb
f3181bf684 Update version number on release/1.10.x branch to 1.10.10 2021-03-31 17:26:06 +02:00
rdb
51b6a90fcb dtoolbase: Remove hacky support code for old libstdc++ on macOS 2021-03-26 21:08:29 +01:00
rdb
b7050e8804 Merge branch 'release/1.10.x' 2021-03-26 21:08:17 +01:00
rdb
aac27409cf readme: Update download link to 1.10.9
[skip ci]
v1.10.9
2021-03-26 10:46:47 +01:00
rdb
43fb82fa66 gobj: Add config switch for Panda not to default to packed vertex colors
See #981.  Setting `vertex-colors-prefer-packed` to false will make Panda default to OpenGL-style vertex colors, which is useful if are targeting OpenGL and not DirectX 9, avoiding a potential performance cost.
2021-03-25 23:15:58 +01:00
rdb
b405df72fa Merge branch 'release/1.10.x' 2021-03-25 23:13:36 +01:00
rdb
c36fa1ef17 glgsg: Workaround driver bug causing flickering in AMD RDNA cards
Apparently, the use of glColorPointer with GL_BGRA causes these cards to display garbled vertex colors (tested with RX 5700 XT).  This bug doesn't seem to affect glVertexAttribPointer.

The "fix" is to just disable packed-dabc colors if these cards are detected.  This may cause a minor performance regression since the vertex data now needs to be munged--possibly even unnecessarily, if shaders are used, but this effect is likely very minor (and can be addressed in other ways).

Fixes #981
2021-03-25 23:12:35 +01:00
rdb
6e0af8abe4 physics: Fix Mac OS X 10.6 compilation issue with <atomic> header 2021-03-25 15:37:52 +01:00
rdb
8accdf1136 makewheel: Fix Python 2.7 build on macOS 2021-03-25 10:33:04 +01:00
rdb
bd218a0a7e readme: Update macOS thirdparty link to point to 1.10.9 2021-03-25 10:28:45 +01:00
rdb
709c1eb378 Update release notes for 1.10.9
[skip ci]
2021-03-24 15:17:30 +01:00
rdb
eb6eb9f1dd Merge branch 'release/1.10.x' 2021-03-24 13:58:00 +01:00
rdb
5291048b0f samples: add info about ShaderTerrainMesh optimization config vars
(Cherry-pick from master)

[skip ci]
2021-03-24 13:02:44 +01:00
rdb
8372b8150a gobj: Cube map sampling support in TexturePeeker
Closes #1098

Co-authored-by: Mitchell Stokes <mogurijin@gmail.com>
2021-03-24 12:50:42 +01:00
rdb
1fb8480585 Exclude GLVND from built distributions 2021-03-24 11:56:24 +01:00
LD
23150bd6d6 pgraph: Add the shader attrib to the filled wireframe render state
Fixes #1021
Closes #1124
2021-03-23 16:18:00 +01:00
rdb
94806801e3 Add p3headlessgl render plug-in on Linux using EGL as fallback for GLX
Fixes #1086
2021-03-23 15:04:20 +01:00
rdb
8bde2f2b1b tests: Add unit tests for GeomPrimitive::offset_vertices() 2021-03-22 22:04:08 +01:00
rdb
3ecc8c857a gobj: Also fix GeomPrimitive::offset_vertices() overload with begin/end
See 40b94c1f9776e42c59ef95140f2a4a5fab3030d8
2021-03-22 22:04:03 +01:00
rdb
3732d3f1e6 PythonUtil: Fix Python 3 next() for SerialNumGen, AlphabetCounter 2021-03-22 21:49:58 +01:00
rdb
3579855ff1 distributed: Switch DistributedSmoothNodeBase.BroadcastTypes to IntEnum
The Enum from PythonUtil is obsolete since the introduction of a proper enum module in Python 3.4.
2021-03-22 19:29:21 +01:00
rdb
107d338d88 PythonUtil: Remove old next() interface from EnumIter
This was just there to support Python 2, which we no longer support.
2021-03-22 19:00:25 +01:00
rdb
d0028ba103 physics: Make PhysicalNode class thread-safe
It is, however, not yet pipeline-cycled, and the Physical object itself is not yet thread-safe.
2021-03-22 16:01:13 +01:00
rdb
0e36a99574 Merge branch 'release/1.10.x' 2021-03-22 15:45:45 +01:00
rdb
8f55d32cb1 glgsg: Workaround for Cg shader issue with multiple GSGs
Fixes #1117
2021-03-22 15:37:43 +01:00
rdb
40b94c1f97 gobj: Fix GeomPrimitive::offset_vertices() with strip cut index
This was called, among other things, by the egg-unify process, which could ruin the strip cut index.

At the same time, I've reimplemented the indexed case for offset_vertices() to make it a little bit more efficient.

Fixes #1122
2021-03-22 11:35:03 +01:00
rdb
fe29aab568 dgui: Reset DirectOptionMenu highlighted index when replacing items
Not doing this causes issues if the item list is replaced by an item callback, since that means the unhighlight callback is never fired.

Fixes #1125
2021-03-22 10:08:31 +01:00
rdb
c1fbb70c6d display: Temporary fix for base.win.properties.size et al
Previously, calling that without storing a temporary object would cause the WindowProperties to go out of scope and the return value to point to random memory.
2021-03-21 16:55:19 +01:00
rdb
1654860f36 makepanda: Rename aarch64 thirdparty dir to arm64 for consistency 2021-03-21 15:50:00 +01:00
rdb
2531f09024 makepanda: Don't enable X11 on Android 2021-03-21 14:55:46 +01:00
rdb
b5c78e8035 Update BACKERS.md 2021-03-21 14:55:00 +01:00
rdb
f450aa5edf physics: Add additional properties 2021-03-21 14:40:10 +01:00
rdb
db2936a318 physics: Slight code cleanup in PhysicalNode::clear() 2021-03-21 14:39:57 +01:00
rdb
f1782d73e5 physics: Fix crash in PhysicsNode::add_physicals_from() 2021-03-21 14:39:31 +01:00
rdb
74910ff310 physics: Don't assert destructing
This could have been produced with make_copy(), which can create a situation where the Physical objects don't have the same node associated -- see b6a118448dce974d25c1d5ae4043baa6dfe12db0
2021-03-21 14:36:14 +01:00
rdb
b6a118448d physics: Warn when copying PhysicalNode with physicals attached
We can't currently support this because a Physical can have only one PhysicalNode associated.
2021-03-21 14:35:28 +01:00
rdb
1c754738bd physics: Prevent adding same Physical to more than one PhysicalNode
Also silently ignore if the same Physical is added to the same PhysicalNode more than once.
2021-03-21 13:00:08 +01:00