rdb
e787929c85
Merge branch 'release/1.10.x'
2020-06-29 14:50:59 +02:00
rdb
40962e1eb5
gsg: Don't error for sampler/light type mismatch for non-casting lights
...
Closes #942
2020-06-29 12:17:36 +02:00
rdb
d1ab940e93
pgraph: Fix texture replacement creating unique TextureAttrib
...
This needs a more thorough fix (probably on master), but the implicit sort is incrementing every time, and it is being included in the hash/compare, so every time the same texture is replaced on the same TextureAttrib, it will be a unique TextureAttrib, causing garbage to accumulate and the state system to be generally less effective.
2020-06-29 11:30:07 +02:00
rdb
04dd4fe354
pgui: Add PGItem Python properties
2020-06-22 22:50:15 +02:00
Fireclaw
0f2cf6d14b
Add maximized property to WindowProperties, plus implementation ( #809 )
...
Closes #809
Co-authored-by: rdb <git@rdb.name>
2020-06-20 23:00:52 +02:00
rdb
d01c53c2d8
Merge branch 'release/1.10.x'
2020-06-14 13:02:25 +02:00
rdb
a9b158192f
putil: fix crash in BitArray::has_any_of()
2020-06-14 12:55:52 +02:00
rdb
446c01c796
nativenet: change some error messages to debug messages
2020-06-14 12:52:01 +02:00
Nathan S
ffef5968fe
docs: some grammar fixes for meshDrawer2D
...
Fixes #941
2020-06-02 20:36:56 +02:00
rdb
55951c3025
pgraph: fix has_tags() after clearing Python tags
...
Fixes #936
2020-06-02 20:31:18 +02:00
rdb
9f1289b492
egldisplay: Support headless OpenGL via EGL when compiled without X11
...
See #557
2020-05-20 20:27:40 +02:00
rdb
fbc4947455
egldisplay: Support creating headless GLES contexts
...
See #557
2020-05-19 22:34:05 +02:00
rdb
f47b92347c
glgsg: Fix framebuffer_copy_to_ram for OpenGL ES using BGRA format
...
Supporting BGRA doesn't necessarily mean that it supports using BGRA in glReadPixels, for OpenGL ES. We need to check a separate extension.
2020-05-19 21:57:15 +02:00
rdb
6b19be495a
display: fix long-standing typo in error message
...
How was this never caught?!
2020-05-19 20:24:45 +02:00
rdb
d64944c108
pgraph: minor optimizations to GeomNode::add_for_draw()
2020-05-11 09:38:17 +02:00
rdb
26ba2b15cd
collide: unexpose verify_points overload taking LPoint3 array
...
Similar as in #908
2020-05-11 09:09:00 +02:00
rdb
dd9ed1109a
downloader: Fix dead link in API documentation
2020-05-11 09:08:11 +02:00
rdb
7d94f601db
shader: Make Cg load calls fail if compiling without Cg toolkit
2020-05-05 16:54:50 +02:00
rdb
9ad4e4586c
collide: Use correct intersection point for sphere into poly
...
Previously, the reported surface and intersection points could be outside the polygon if the sphere was colliding with the edge.
Fixes #907
2020-05-05 16:52:21 +02:00
rdb
3598222977
Merge branch 'release/1.10.x'
2020-05-05 16:47:38 +02:00
rdb
ed73394275
collide: fix erroneous collision if sphere is under edge of polygon
...
Reproducible by the code in #907 , occurs if the sphere is close to the edge, but its center is off and under the polygon.
2020-05-05 16:33:20 +02:00
rdb
2ed4516cb2
collide: Unexpose CollisionPolygon constructor taking point array
...
This could never work in Python, and does indeed cause a crash, so I don't consider this compat-breaking.
Fixes #908
2020-05-05 14:51:31 +02:00
rdb
e4573ef0fe
cleanup: Remove more unnecessary nullptr checks before delete
...
Follow-up to #934
2020-05-05 14:46:30 +02:00
rdb
29f552a6ef
task: Use TimeoutError from asyncio.exceptions on Python 3.8+
...
Fixes unit test failures
2020-05-05 14:35:43 +02:00
rdb
bfbbcad990
task: Support calling cancel() on currently awaiting futures
...
Fixes #911
2020-05-05 13:21:49 +02:00
rdb
b5d0e9eafc
task: Fix memory leak when removing a task awaiting non-Panda future
2020-05-05 13:19:26 +02:00
rdb
1ff11c1e16
cleanup: Removal of unnecessary null checks around `delete`
...
Fixes #934
2020-05-05 10:41:16 +02:00
rdb
5030ad6b13
nativenet: reformat time_accumulator.h
2020-05-05 10:39:43 +02:00
rdb
3000aa2369
windisplay: Support relative mouse mode (using raw input)
...
Fixes #928
2020-05-02 11:10:37 +02:00
rdb
734bb8552c
Merge branch 'release/1.10.x'
2020-05-02 10:51:17 +02:00
rdb
4b00f9e660
windisplay: Fix M_confined mode confining cursor to incorrect region
...
It should be confined to the client rect, not the window rect.
Fixes #929
2020-05-02 10:47:37 +02:00
rdb
3f0ff827f3
wgldisplay: Support floating-point window framebuffers on Windows
...
These are linearized scRGB, and necessary to make Panda work on HDR monitors.
2020-05-01 20:33:52 +02:00
rdb
6ad9eeb5a1
CMake: generate panda3d.dist-info directory
...
This makes pip recognise that Panda3D has been installed and setuptools recognise the build_apps and bdist_apps commands.
2020-04-30 21:37:35 +02:00
rdb
d799a09002
cleanup: Remove support for EOL versions of Python
...
Fixes #905
2020-04-26 20:07:56 +02:00
rdb
e2177ecbdb
Merge branch 'release/1.10.x'
2020-04-26 00:16:25 +02:00
rdb
c59a039fa8
pgraph: fix RenderState/TransformState count in PStats exploding
...
This was a regression in 1.10.6 that caused PStats to misreport the amount of RenderState/TransformStates in the application.
2020-04-25 23:39:03 +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
Joel Stienlet
f2e67169bc
corrects bug: wrong case entered in MultiplexStreamBuf::Output::write_string() in panda/src/downloader/multiplexStreamBuf.cxx
...
Closes #902
2020-04-25 22:19:34 +02:00
rdb
00305bccae
device: fix failure to open message-only window
...
Not sure why I was getting this, but this seems to fix it
2020-04-13 15:10:29 +02:00
rdb
c40aa7addc
egg: remove register keyword from lexer.cxx.prebuilt
2020-04-13 15:10:29 +02:00
Mitchell Stokes
46dc9444d3
SceneGraphAnalyzer: Use smarter units for byte sizes in write()
...
Values above 10 MiB are displayed in MiB and values above 4 GiB are
displayed in GiB.
Closes #881
2020-04-02 13:53:56 +02:00
rdb
b511eabb0f
display: fix fallback of SMO_light_source_i_packed shader input
...
This is not actually used by anything, but we might as well ensure that it's set to something sensible
2020-04-02 12:41:14 +02:00
rdb
088a1f3774
display: fix crash with oversized p3d_LightSource array
...
This was a regression in 89f1a0e63c
Closes #897
2020-04-02 12:32:20 +02:00
rdb
94571aac93
collide: improve performance of colliding with visible geometry
2020-04-01 20:31:19 +02:00
rdb
b306806512
char: add joint property to JointVertexTransform
2020-04-01 20:31:19 +02:00
rdb
f192a0cdb6
gobj: more efficient pickling support for InternalName
...
Rather than going through the TypedWritable/bam route, this encodes InternalNames in a more compact and efficient manner.
2020-04-01 20:31:19 +02:00
rdb
9d8c523dfa
putil: Assorted improvements to BitArray, SparseArray, *BitMask*:
...
* Support converting BitMask types to int
* BitArray constructor accepts a Python long of arbitrary size
* DoubleBitMask (and QuadBitMask, by extension) supports Python long in constructor
* Support for pickling (except DoubleBitMask)
* All of them now properly define __bool__()
* More unit tests
Fixes #886
2020-04-01 20:31:16 +02:00
rdb
e4819f2b5c
pipeline: fix compilation error on Windows with simple threading
2020-04-01 18:59:44 +02:00
rdb
30d9f88f8e
Merge branch 'release/1.10.x'
2020-04-01 18:53:00 +02:00
rdb
064da09cf0
putil: add pickling support to Datagram class
2020-04-01 18:25:43 +02:00