24764 Commits

Author SHA1 Message Date
rdb
a1b2d5b8dc Make use of new function call methods in Python 3.9 2020-12-12 17:28:21 +01:00
rdb
ab5730831c audio: Add some properties to AudioSound 2020-12-12 17:28:21 +01:00
rdb
2b29c757d9 pgraph: Optimization for GeomNode::add_for_draw() 2020-12-12 17:28:21 +01:00
rdb
251d73a47b ShaderGenerator: very slight optimization setting ShaderAttrib flags 2020-12-12 14:15:27 +01:00
rdb
ac4faf3d74 text: Make TextNode pipeline-cycled
Fixes #1070

Note that text property changes are not pipeline-cycled at the moment.
2020-12-12 14:05:48 +01:00
rdb
54a4a6abfc Merge branch 'release/1.10.x' 2020-12-12 14:02:04 +01:00
rdb
130c70a9f5 Update BACKERS.md
[skip ci]
2020-12-12 13:58:43 +01:00
rdb
761c54f63d pgui: Workaround for DirectEntry flickering issues w/ pipelining
See #1070.  This is a temporary solution (one which isn't complete- it doesn't properly handle state changes).
2020-12-12 13:57:49 +01:00
Daniel
4f63ef635d panda: Remove PyEval_InitThreads calls when compiling against Python 3.9+
Cherry-pick from #1053
2020-12-12 00:16:58 +01:00
rdb
e98052b99b Use new 1.10.8 thirdparty archive for macOS 2020-12-10 17:39:39 +01:00
rdb
c8a35641c1 pgraphnodes: Remove unused variable 2020-12-10 17:37:05 +01:00
rdb
ed397b3ab8 Merge branch 'release/1.10.x' 2020-12-09 17:59:37 +01:00
rdb
bf59e880c6 bullet: Fix compilation error with Bullet 2.90+ 2020-12-09 16:25:29 +01:00
rdb
8e2c0dff4a pgraph: Hack fix for copying model with LightAttrib on root
When a LightAttrib is set on the root of a model and the light is contained within that model, creating a copy (like the one Loader makes automatically) causes the LightAttrib to still point to the original light, not to the newly copied light.

This works around it only for the case when the LightAttrib is set on the root, and only for the case of NodePath::copy_to() (it turns out there are edge cases when doing it in PandaNode::copy_subgraph() that would be hard to explain).

See Moguri/blend2bam#44
2020-12-09 15:51:36 +01:00
rdb
9525ddbfef pgraph: LightAttrib::get_on_light(n) should call check_sorted() 2020-12-09 15:48:10 +01:00
rdb
35eeb27386 VFSImporter: fix detection of source file encoding in Python 3
Incidentally, this should (in theory) also fix the _bootlocale import loop referenced in #1065
2020-12-09 15:46:51 +01:00
rdb
7b4ecbd60f directtools: Fix use of built-in direct instead of base.direct 2020-12-09 15:44:13 +01:00
rdb
951c182c0e makepanda: Preparatory changes for Big Sur / arm64 builds 2020-11-30 19:46:20 +01:00
rdb
c9aedc2b44 Merge branch 'release/1.10.x' 2020-11-28 22:26:04 +01:00
rdb
4e7742b8e2 VFSImporter: replace deprecated U open() flag
Fixes #1063
2020-11-28 22:22:32 +01:00
rdb
615502aef6 pgraphnodes: Support hardware instancing for LODNode
LODNode will now correctly calculate LOD for individual instances.

It turns out implementing it for FadeLODNode is hard (wrt. tracking state for individual instances) so I have not bothered with supporting it - FadeLODNode instead calculates a single switch level for all instances based on the centroid of the visible instances.
2020-11-26 16:47:35 +01:00
rdb
e13756f43e pgraph: Support hardware instancing in BillboardEffect and CompassEffect 2020-11-26 16:47:11 +01:00
rdb
aace94a521 makepanda: Fix version checks for macOS 11.0 Big Sur
Fixes #1056
2020-11-25 01:22:26 +01:00
Mitchell Stokes
bd7b6d8fe7 build_apps: Allow setting hidden imports via setuptools options
This is exposed as a hidden_imports option, which is a dictionary. The
keys are module name and the values are a list of modules to include
when an import for the key is found.
2020-11-25 01:08:36 +01:00
Daniel
c5017acb1d makepanda: Add fftw3 pkg-config name 2020-11-24 20:35:05 +01:00
Derzsi Dániel
862d06b7a8 workflow: Add Python 3.9 to GitHub CI workflow
Closes #1054
2020-11-23 10:58:23 +01:00
Daniel
54cb519dc9 panda: Remove PyEval_InitThreads calls when compiling against Python 3.9+
Closes #1053
2020-11-23 10:56:09 +01:00
Daniel
b31b100693 tests: Correct misleading comment
[skip ci]
2020-11-23 10:54:57 +01:00
rdb
01b2f1f759 gobj: Fix typo in docstring
[skip ci]
2020-11-23 10:54:03 +01:00
rdb
92e2c24958 Experimental InstancedNode class for hardware instancing 2020-11-22 22:01:13 +01:00
Daniel
ac6a1a7874 collide: Expose CollisionPolygon's setup_points and verify_points to Python
Closes #1035
2020-11-22 22:01:07 +01:00
rdb
3d5f0b7fe1 gobj: Add methods for adding/removing GeomVertexData arrays 2020-11-22 15:37:38 +01:00
rdb
51a3a2b4a1 express: Fix VirtualFileMountZip not having init_type() called 2020-11-22 15:22:47 +01:00
rdb
8486d286b7 Merge branch 'release/1.10.x' 2020-11-22 15:19:51 +01:00
rdb
61a089ad59 ShaderGenerator: don't output unused attr_ambient input variable 2020-11-22 14:23:46 +01:00
rdb
b12fcec099 glgsg: Fix handling of sized rgba formats in OpenGL ES 2020-11-22 14:21:34 +01:00
rdb
d1e8554fde glgsg: Fix error message if vtx_normal is declred as float4 in Cg 2020-11-21 14:19:52 +01:00
rdb
5fe83f4286 makepanda: Don't fail building installer if models dir is empty 2020-11-21 14:19:22 +01:00
LD
f4d372fdcd dist: Add platform name to NSIS installer filename and generate it into the dist directory
Closes #1038
2020-11-17 23:56:30 +01:00
rdb
d62146a317 Merge branch 'release/1.10.x' 2020-11-17 23:56:00 +01:00
rdb
07be2e64bd workflow: Fix issues with Continuous Integration build 2020-11-17 23:44:40 +01:00
rdb
93900a203e putil: Backport part of 9d8c523dfa83f37cc15095bc8f4fae5f7f996bc6
Fixes #886
2020-11-17 23:36:06 +01:00
rdb
a6e6826939 interrogate: support __getstate__ and __setstate__
The latter in particular will be called instead of __init__, so must construct the object.
2020-11-17 22:35:25 +01:00
rdb
ac089658f3 CMake: Fix error flood if OpenSSL is not present
Fixes #1013
2020-11-17 22:26:14 +01:00
rdb
3abd157315 gobj: Fix a bad assertion comparison 2020-11-17 21:05:08 +01:00
rdb
3a2048e44a glgsg: Fix skinning shader being unable to render unskinned models
Panda was adding a column with weights (0, 0, 0, 0), but these weights don't add up to 1 so no useful identity matrix can be produced.  Instead it's better to fall back to the OpenGL default, (0, 0, 0, 1).

I'm also defaulting the transform_index values to (0, 1, 2, 3) to support non-indexed skinning (although that's pretty esoteric, given that that only supports 4 transforms...)
2020-11-17 21:01:56 +01:00
rdb
a30f4be157 readme: Fix Travis badge on release/1.10.x branch 2020-11-17 21:01:17 +01:00
Daniel
7eba53cffa showbase: Fix an entire DirectSession being (re)created on node selection
Closes #1051
2020-11-17 12:02:53 +01:00
rdb
f1ca8a9018 direct: Additional linking in Loader API documentation 2020-11-17 12:01:42 +01:00
rdb
f88441c584 dist: Fix error building Windows executable in Python 3.9 2020-11-17 12:01:05 +01:00