rdb
93900a203e
putil: Backport part of 9d8c523dfa
...
Fixes #886
2020-11-17 23:36:06 +01:00
rdb
5d0044a481
tests: Add unit test for RenderEffects comparison
2020-09-16 23:38:56 +02:00
rdb
c646924f03
tests: remove occasionally-failing PythonUtil.weightedChoice test
...
It does not test a behavior of this function that we support, anyway.
2020-09-14 11:01:01 +02:00
rdb
56c33fb8b6
tests: add unit test for StreamReader.readlines()
2020-09-12 23:09:38 +02:00
rdb
1236303acf
tests: Add new unit test for Triangulator (also testing #985 )
2020-08-18 18:38:19 +02:00
Mitchell Stokes
dd77bd4cdf
shadergen: Make use of material alpha if present ( #925 )
...
The material alpha overrides alpha values from flat color or vertex colors. This follows what the fixed-function pipeline does.
Fixes #912
2020-08-17 12:27:03 +02:00
rdb
9ac1a4f7cb
tests: Add some unit tests for #987
2020-08-17 12:16:33 +02:00
rdb
be24266715
tests: Copy some linmath/gobj tests over from master branch
2020-08-17 12:16:33 +02:00
rdb
c7341bec26
tests: Fix Filename test to match paths case-insensitively
2020-08-17 12:16:33 +02:00
rdb
f7cef5c284
tests: fix typo in TextureAttrib test
2020-06-29 12:49:26 +02:00
rdb
8d99f38aa2
tests: update TextureAttrib unit tests
2020-06-29 11:32:15 +02:00
rdb
913ab6669e
tests: Add more attribute tests to try to make coverage deterministic
2020-06-15 15:20:38 +02:00
rdb
a9b158192f
putil: fix crash in BitArray::has_any_of()
2020-06-14 12:55:52 +02:00
rdb
55951c3025
pgraph: fix has_tags() after clearing Python tags
...
Fixes #936
2020-06-02 20:31:18 +02:00
Ashwini
80ab6a28c4
pnmimage: Added offset to add_sub_image and mult_sub_image
...
Closes #903
2020-04-25 22:56:40 +02:00
rdb
064da09cf0
putil: add pickling support to Datagram class
2020-04-01 18:25:43 +02:00
Fireclaw
5d93237386
dgui: fix regression in DirectScrolledFrame (see #699 )
...
Made initialization ignore the setScrollBarWidth function
Respect the length/height of the scrollbar and only change the actual
width in the setScrollBarWidth function
Added a very basic unittest class for the scrolledFrame
Closes #864
2020-02-10 13:17:05 +01:00
rdb
cef70a4fe5
tests: remove __gt__ asserts from test_shaderinput_vector_compare
...
This fails in Python 2, and we don't actually provide this operator or make any guarantees about greater-than ordering, so it was silly to test for it to begin with.
2020-01-04 01:21:54 +01:00
rdb
b60c3e6c7e
tests: add unit tests for ShaderInput comparison ( #827 )
2020-01-03 18:52:55 +01:00
rdb
b9713f71b1
tests: add some DCPacker unit tests (for #751 )
2019-12-25 16:58:11 +01:00
Thaumaturge
76d6b7ce58
tests: add unit tests for particle systems and #769 in particular
...
Co-authored-by: rdb <git@rdb.name>
2019-11-10 20:34:03 +01:00
fireclawthefox
e6fc6c695d
tests: add unit tests for DirectOptionMenu
2019-11-03 12:14:37 +01:00
rdb
c6990b9f9b
prc: fix possible stack overflow in StreamReader
...
Fixes #754
2019-10-08 19:44:23 +02:00
rdb
7f7cbd1c25
tests: add Filename unit tests for fspath protocol in particular
2019-09-04 12:40:58 +02:00
rdb
833f778cb7
pnmimage: add quantize feature to reduce number of colors in image
2019-08-28 22:44:16 +02:00
rdb
61a276f49a
tests: add some ModifierButtons unit tests
2019-08-28 11:04:20 +02:00
rdb
88f8071dfc
tests: add unit tests for direct.showbase.Loader.Loader class
2019-08-22 10:45:36 +02:00
rdb
f0ba25e11d
tests: work around Python 2.7 tempfile case bug on Windows
2019-08-20 14:40:15 +02:00
rdb
7d34526c33
tests: fix OS-specific filename issue on Windows with loader tests
2019-08-20 14:00:15 +02:00
rdb
b23561d863
tests: add unit tests for Python loader file types
2019-08-20 13:23:11 +02:00
rdb
1318fd80d7
tests: add unit test for track-gui-items setting in DirectGUI
2019-08-20 01:08:56 +02:00
rdb
a0aa7de291
dgui: fix critical regression introduced by 43a5719
2019-08-19 21:26:35 +02:00
John Cote
ff188c1dca
tests: Add unit test for DirectEntry._autoCapitalize()
...
Closes #628
Co-authored-by: rdb <git@rdb.name>
2019-08-14 13:26:33 +02:00
Mitchell Stokes
369dccbab9
tests: Add tests around compiling GLSL and Cg shaders ( #622 )
2019-08-01 12:32:06 +02:00
pythonengineer
46a3a72029
PythonUtil: weightedChoice should throw IndexError on empty list
...
Also includes a unit test.
Closes #682
2019-07-15 19:39:31 +02:00
rdb
bac376541f
pgraph: add NodePath.replace_texture()
2019-07-10 09:53:42 +02:00
rdb
cc4d5259cc
linmath: fix mat4.get_col3() and mat4.get_row3() when using Eigen
2019-05-02 19:40:23 +02:00
rdb
ca5b4e7b54
ode: fix OdeJoint.attach with None parameters
...
Fixes #633
2019-04-28 22:29:29 +02:00
rdb
6464327e6f
tests: add more thorough unit test for SparseArray::clear_range
2019-04-14 17:59:55 +02:00
Epihaius
83723d38a5
tests: Create test_sparsearray.py
...
Closes #590
2019-04-14 17:59:29 +02:00
rdb
63d2992d5e
egg: add ability to read <Tangent> with four components
...
This is not intended to be used just yet in 1.10, but already added in preparation for changes on master to support #546 . I'm just allowing Panda to parse the syntax ahead of time to reduce potential .egg incompatiblities.
2019-02-05 00:30:54 +01:00
rdb
e4daa0bf16
tests: test various things that could suffer from libc++ eof() bug
2019-01-10 21:55:07 +01:00
rdb
0c5546bcb0
tests: add unit tests for Audio3DManager sound velocity
2019-01-06 09:32:41 +01:00
rdb
0d5d6466f1
Remove references to obsolete index from requirements.txt
2019-01-05 20:53:11 +01:00
Mitchell Stokes
8f4d66db04
tests/build_samples: Use temporary directories to avoid in-source builds
2019-01-04 18:55:31 -08:00
rdb
7bdbbc78a3
tests: fix syntax error in setup.py, use default platforms
2018-12-28 15:36:02 +01:00
rdb
01915a36db
Merge branch 'master' into deploy-ng
2018-12-26 23:41:50 +01:00
rdb
69decc17ff
tests: raise GLSL version from 1.30 to 1.50 for compute shader
2018-12-23 22:28:52 +01:00
rdb
bd6ef2b0ea
Rename CollisionTube to CollisionCapsule (bam 6.44)
...
Adds ability to register "obsolete" names for certain types under older .bam versions, so that we are still able to write out old .bam files.
Fixes #347
2018-12-23 22:28:06 +01:00
rdb
4c0fa1e75d
Merge branch 'master' into deploy-ng
2018-12-16 22:36:45 +01:00