rdb
4c58eb3382
tests: Replace use of deprecated imp module in test_imports
2022-10-31 23:21:54 +01:00
rdb
316b0009ae
Merge branch 'release/1.10.x'
2022-10-31 23:10:39 +01:00
rdb
4c6df54d6f
tests: Fix failing window unit test on macOS
...
Fixes #804 (together with previous commit 979f194f49 )
2022-10-29 18:47:15 +02:00
rdb
979f194f49
tests: Load either 120 or 150 GLSL shaders depending on capabilities
...
Addresses part of #804
2022-10-29 18:46:59 +02:00
rdb
a111bb4442
tests: skip auto-shader tests if Cg shaders are not supported
...
Backport of 57b0be8647
2022-10-29 18:16:58 +02:00
rdb
2a0da59dae
tests: Add more tests for sphere-into-box
2022-10-05 14:55:46 +02:00
Derzsi Dániel
d79709f004
express: Add support for bytes multifile encryption passwords ( #1334 )
2022-07-20 22:50:06 +02:00
rdb
20334cce05
Merge branch 'release/1.10.x'
2022-06-29 19:09:59 +02:00
Stephen A. Imhoff
33691d72ec
bullet: Fix assertion when reconstructing BulletConvexHullShape from bam
...
Fixes #1251
Closes #1252
2022-06-29 17:06:19 +02:00
rdb
4df8c86590
tests: Add unit test for PandaNode prev_transform tracking mechanism
2022-02-24 11:43:44 +01:00
rdb
5695d1a719
tests: Add separate unit test for AsyncFuture.wait() with timeout
...
Since it's using a different implementation than the no-timeout version now
2022-02-24 11:43:11 +01:00
rdb
a33fcab8da
tests: Switch from deprecated ConditionVarFull to ConditionVar
2022-02-22 15:22:10 +01:00
rdb
7a2a83572c
Merge branch 'release/1.10.x'
2022-01-05 08:50:11 +01:00
rdb
d65ca1edd6
pgraph: Fix nodes with same key but diff value getting flattened
...
This was a regression from 69b3468b2c
2022-01-05 08:14:08 +01:00
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