25117 Commits

Author SHA1 Message Date
rdb
7dab0df061 cmath: Fix compilation error on macOS with sincos 2021-11-28 16:48:45 +01:00
rdb
c980643649 chan: Lock PartBundle while binding animation
This seems like the right thing to do that could prevent some potential race conditions; let me known if this is breaking anything.
2021-11-28 16:21:59 +01:00
rdb
480226a97a cmath: Use combined sincos on GNU where it is available 2021-11-28 16:14:36 +01:00
rdb
78fb565f2b Merge branch 'release/1.10.x' 2021-11-28 16:14:18 +01:00
loonaticx
15c84afbe9 doc: Improve egg syntax documentation
[skip ci]

Closes #1199
2021-11-28 16:12:44 +01:00
rdb
980399d142 event: Expose ButtonEvent to Python 2021-11-28 14:36:20 +01:00
rdb
2abf867203 gobj: Don't load textures when loading bam file if preloading is off
This is wasteful (especially when the bam file already has the simple RAM images baked in if needed) since we are throwing away the texture data right away anyway.  Just locate it on disk, it will be loaded later when it is needed.

Fixes #1208
2021-11-28 14:04:41 +01:00
rdb
c0a9123dde gobj: Fix TextureReloadRequest not reloading in certain situations
This prevented async texture loading from working unless mipmapping was enabled
2021-11-28 14:01:33 +01:00
rdb
5eaa67fbc9 gobj: Add TexturePool::get_texture() for querying tex from pool 2021-11-28 14:00:59 +01:00
rdb
5cad0eb973 glgsg: Don't use simple RAM image in shaders for non-sampler2D types
Simple RAM images are always 2D right now, so this would otherwise cause an error.
2021-11-28 13:59:46 +01:00
rdb
8f9d23ff29 linmath: Remove redundant sin() calculation in LQuaternion 2021-11-28 13:58:13 +01:00
rdb
54de9f9fa4 glgsg: Fix possibility of simple RAM image going out of scope 2021-11-28 13:57:20 +01:00
rdb
ea61e53ab2 event: Fix ButtonEvent docstring 2021-11-28 13:56:55 +01:00
rdb
13db762a33 makepanda: Add missing version of Windows 10 SDK 2021-11-28 13:56:21 +01:00
rdb
6adb6be4b5 egg2pg: slight comment cleanup in characterMaker.cxx
[skip ci]
2021-11-16 17:55:32 +01:00
rdb
3aa77a1260 framework: Fix unnecessary ternary check 2021-11-16 17:31:27 +01:00
rdb
9ebfef4b83 pgraph: Change TransformState hashing not to require grabbing lock
Instead, set it atomically, with a special hash value used instead of a flag for indicating that the hash is not known.
2021-11-16 17:30:36 +01:00
rdb
60c5589671 pgraph: Optimize handling/checking of identity/invalid transforms 2021-11-16 17:30:36 +01:00
rdb
fac6916151 pgraph: Major traversal optimizations
In particular, these optimize the traversal of nodes that are not in view, which are discarded more efficiently.
This change affects both the cull and collision traversers.
2021-11-16 17:30:33 +01:00
rdb
df7892b683 dtoolutil: Fix _WIN32 macros that should be _MSC_VER 2021-11-16 16:35:13 +01:00
rdb
20e4704be2 Merge branch 'release/1.10.x' into incoming 2021-11-16 16:35:08 +01:00
rdb
0f7a575ac0 bullet: Add bullet-split-impulse config variable
Fixes #1201

Co-authored-by: K9Kraken <K9Kraken@users.noreply.github.com>
2021-11-16 15:16:25 +01:00
rdb
b6e5217154 ai: Add name property to AICharacter class
Closes #1205
2021-11-16 15:10:15 +01:00
rdb
ab6d3b2e15 gobj: Show better error if calling tex.write() with unknown extension 2021-11-16 15:04:46 +01:00
rdb
32584f0a68 pgraph: Fix prepare_scene() not properly invoking the shader generator 2021-11-09 15:46:14 +01:00
rdb
77710bb813 workflow: Change Ubuntu Xenial builder to Bionic 2021-11-02 15:35:54 +01:00
rdb
cf681eb8dd bullet: Clean up fix for #1193
See ad7cbcd4ec447d4423e05b0e0b813327bd722bf3
2021-11-02 15:34:26 +01:00
rdb
0bc0709b72 Merge branch 'release/1.10.x' 2021-11-02 15:20:41 +01:00
Epihaius
29294cb974 interval: Redefine some properties in MetaInterval class
The `play_rate` property invokes the underlying C++ `set_play_rate` method, which leads to a bug (#1202).
The property is now redefined to make it invoke the overriding `MetaInterval.set_play_rate` method instead.

Fixes #1202
Closes #1204
2021-11-02 15:13:17 +01:00
rdb
04c6636744 pgraph: Add some missing properties to PlaneNode 2021-11-02 15:02:40 +01:00
rdb
9587965c5d bullet: Add some API documentation strings for BulletDebugNode 2021-11-02 15:02:14 +01:00
rdb
c1888ba437 makepackage: Add Python 3.11 to installer.nsi 2021-11-02 15:01:42 +01:00
rdb
e87a2a1f0f showbase: Fix typo in API reference 2021-11-02 15:01:18 +01:00
rdb
c1bb28b6d8 workflow: Update Ubuntu builder to 18.04 2021-11-02 14:08:27 +01:00
Fireclaw
3d8f824081 Add Distributed Network samples
1: Simple client-server connection
2: Client-server connection with timeManager
3: Create distributed objects, sending and receiving messages
4: Distributed model file
5: Simple text chat
6: Simple smooth moving actor
2021-10-28 09:54:17 +02:00
rdb
ad7cbcd4ec bullet: Fix memory leak getting persistent manifolds from Python
These classes ought to be returned by value. Cleaner fix will be in master.

Fixes #1193
2021-10-27 11:20:19 +02:00
rdb
a4ea476cce linmath: Implement read-only buffer protocol support for vectors
Fixes #1194
2021-10-27 10:53:35 +02:00
rdb
77c6bc199d gobj: Remove unused member variable from TexturePeeker 2021-10-27 10:46:43 +02:00
rdb
b7b2ce0cd6 Replace FreeNode with Libera Chat
[skip ci]
2021-10-26 18:06:18 +02:00
rdb
2ae6e5c6ce glgsg: Remove unused variable from glGSG 2021-10-26 17:28:01 +02:00
rdb
605651f0e8 Merge branch 'release/1.10.x' 2021-10-26 17:27:56 +02:00
rdb
57d7bc2f53 display: document make_texture_buffer() behavior when size is 0
Fixes panda3d/panda3d-docs#100
2021-10-26 14:00:25 +02:00
rdb
9b55279fde glgsg: Minor code cleanup in FBO code 2021-10-26 14:00:04 +02:00
rdb
594a26662e dist: Automatically include cacert.pem when depending on certifi 2021-10-26 13:59:39 +02:00
rdb
ca061c98a6 dcparser: Improve assertion error message for invalid UTF-8 data 2021-10-26 13:58:40 +02:00
rdb
cd9712270b dcparser: slight code cleanup in dcPacker.cxx 2021-10-26 13:51:04 +02:00
rdb
618e6f3fee pgui: Fix slider thumb entering dragging state on button press
This caused updating the slider while a button is pressed and the mouse is held over the thumb not to work.

Fixes #1188
2021-10-26 13:45:38 +02:00
rdb
de334f5597 PythonUtil: remove deadlink from normalDistrib docstring 2021-10-26 13:28:35 +02:00
Stephen A. Imhoff
64345c71b6 Update version number on release/1.10.x branch to 1.10.11 2021-10-14 20:15:51 +02:00
rdb
e9b5092734 dist: Fix frozen modules not packaged (such as zipimport in Python 3.8+) 2021-10-14 09:49:58 +02:00