rdb
60c5589671
pgraph: Optimize handling/checking of identity/invalid transforms
2021-11-16 17:30:36 +01:00
rdb
a4ea476cce
linmath: Implement read-only buffer protocol support for vectors
...
Fixes #1194
2021-10-27 10:53:35 +02:00
rdb
0ae8d8f315
tests: Robustify depth range test case
2021-08-31 14:02:49 +02:00
rdb
53741ffa13
pgraph: Implement new DepthBiasAttrib to replace DepthOffsetAttrib
...
Fixes #1157
2021-08-26 10:47:07 +02:00
rdb
280175f267
display: Support specifying depth range on DisplayRegion
...
See https://discourse.panda3d.org/t/depthoffsetattrib-z-range-composition-order/27943/4
2021-08-26 10:42:25 +02:00
rdb
c293ad3da2
Merge branch 'release/1.10.x'
2021-08-03 20:19:15 +02:00
rdb
f30019af13
tests: xfail vector floor division tests on Windows
...
Can't figure this one out for now.
2021-08-03 15:49:11 +02:00
rdb
f27e9b2a86
linmath: Add __rmul__ operator for left scalar multiplication
...
Fixes #1048
2021-07-05 14:16:55 +02:00
rdb
199b797d72
Merge branch 'release/1.10.x'
2021-06-01 11:50:12 +02:00
rdb
5804c663a9
tests: Backport unit test fix from c0d3491223
2021-06-01 11:47:19 +02:00
rdb
2386e80448
linmath: Backport support for floor division to 1.10
...
Backport of 8944737844
(Also fixes return type of `__pow__` to always be derived class)
2021-06-01 10:45:56 +02:00
rdb
4e0e945279
linmath: Backport round(), floor(), ceil() support for vectors
...
See #821
2021-06-01 10:23:58 +02:00
rdb
5ef1b44455
event: cancel future being awaited when cancelling coroutine task
...
Fixes #1136
2021-04-18 17:05:00 +02:00
rdb
cdf5b16ddd
task: Add AsyncFuture::shield() ability, part of #1136
...
This is modelled after `asyncio.shield()` and can be used to protect an inner future from cancellation when the outer future is cancelled.
2021-04-09 18:28:07 +02:00
rdb
eb6eb9f1dd
Merge branch 'release/1.10.x'
2021-03-24 13:58:00 +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
8bde2f2b1b
tests: Add unit tests for GeomPrimitive::offset_vertices()
2021-03-22 22:04:08 +01:00
rdb
3732d3f1e6
PythonUtil: Fix Python 3 next() for SerialNumGen, AlphabetCounter
2021-03-22 21:49:58 +01:00
rdb
817f04d19e
tests: Ignore DeprecationWarning in OnscreenText tests
2021-03-09 19:21:41 +01:00
rdb
050d86dadb
event: AsyncFuture::set_result() behavior changes:
...
* Passing a Python subclass of a C++ class now works, the extra Python stuff isn't just discarded
* EventParameter objects are no longer automagically unwrapped - there's no more reason to pass an EventParameter to this method anyway, and it might be unexpected if it is treated specially.
2021-03-01 20:50:25 +01:00
rdb
8cbe36b352
Merge branch 'release/1.10.x'
2021-03-01 19:33:27 +01:00
rdb
064e0383be
event: Allow AsyncFuture to store arbitrary PyObject result
2021-03-01 19:16:22 +01:00
rdb
c0d3491223
tests: Test fewer numbers for vector floor divide test
...
Hopefully fix Windows test suite
2021-02-24 12:12:42 +01:00
rdb
8944737844
linmath: Support floor division for vector types
...
Also fix __pow__ so that it returns the derived type, not the base type
2021-02-22 20:01:30 +01:00
rdb
c73c94c862
Merge branch 'release/1.10.x'
2021-02-06 01:23:34 +01:00
Stephen Imhoff
a9f3940577
Add bullet ghost node test
2021-02-05 20:31:01 +00:00
rdb
842452594d
Merge branch 'release/1.10.x'
2021-01-17 17:28:19 +01:00
rdb
a5a0809949
gobj: Support integer texture formats in TexturePeeker
2021-01-17 15:27:19 +01:00
rdb
3479c6eee2
tests: Add unit tests for GLSL usampler/isamspler/uimage/iimage
2021-01-17 12:13:59 +01:00
rdb
f20d859fe2
pgraph: Fix bug passing non-tuple sequence to shader input
2021-01-16 14:05:43 +01:00
rdb
e099d9e787
Merge branch 'release/1.10.x'
2021-01-02 02:33:35 +01:00
rdb
a84f1b5595
express: distinguish between null vs empty in CPTA pickle as well
2021-01-02 02:22:06 +01:00
rdb
c81c506df3
express: Fix PointerToArray comparison operator
2021-01-01 17:54:09 +01:00
rdb
b2462c1d8c
express: Support pickling PointerToArray objects
2021-01-01 17:42:30 +01:00
rdb
e755f87130
pgraph: Add pickling for LoaderFileTypeRegistry
...
Useful to test that pickling singletons works
2021-01-01 17:08:55 +01:00
rdb
3a5201fd65
tests: Add tests for pickling DoubleBitMask
2021-01-01 17:08:34 +01:00
rdb
f8ce339960
collide: Add pickle support for most collision handlers
...
Also redo CollisionHandlerEvent pickling to use Datagram instead
Related to #1090
2021-01-01 16:56:18 +01:00
rdb
8852c835fc
collide: Support pickling for CollisionTraverser, HandlerEvent+Queue
...
Fixes #1090
2020-12-31 16:57:34 +01:00
rdb
a5557bc38d
stdpy: Fix pickle sometimes duplicating Panda objects
...
We have to unify multiple Python wrappers pointing to the same C++ object.
2020-12-31 16:55:34 +01:00
rdb
cf60284ca9
Merge branch 'release/1.10.x'
2020-12-31 00:05:10 +01:00
rdb
a6580f5dd3
physics: Fix GlobalForceGroup
2020-12-30 23:57:43 +01:00
rdb
c141bef19b
stdpy: Add missing threading.ThreadError
2020-12-30 23:57:27 +01:00
rdb
65c1ef968c
stdpy: Add PicklingError to pickle module
2020-12-30 22:34:44 +01:00
rdb
25b79a2aef
Merge branch 'release/1.10.x'
2020-12-29 14:44:56 +01:00
rdb
2c209e0f02
stdpy: Fix direct.stdpy.pickle module for Python 3
2020-12-29 13:05:00 +01:00
rdb
2156e6deb2
Merge branch 'release/1.10.x'
2020-12-26 14:00:29 +01:00
rdb
d5c2dc6447
dgui: Add setTextPos, etc. aliases for setPos
...
setPos will be deprecated in a future version.
See #1041
2020-12-26 13:59:19 +01:00
rdb
902ada10b8
gobj: Slight optimization for GeomTristrips::append_unused_vertices()
2020-12-14 11:11:46 +01:00
rdb
9f09857397
collide: Error checking for CollisionPolygon::setup/verify_points()
2020-12-12 17:28:41 +01:00
Daniel
b31b100693
tests: Correct misleading comment
...
[skip ci]
2020-11-23 10:54:57 +01:00