23208 Commits

Author SHA1 Message Date
rdb
1a9867ae2e device: remove executable permissions from inputDeviceSet.* 2019-04-02 02:08:47 +02:00
rdb
eda709bbfc deploy-ng: work around Python 2 crash with logging in GUI apps 2019-04-02 01:31:57 +02:00
rdb
e0d6e07a93 tests: add capsule-into-sphere and segment-into-sphere tests 2019-03-29 13:45:06 +01:00
rdb
e98fbc7633 Merge branch 'release/1.10.x' 2019-03-29 13:44:50 +01:00
rdb
3ea562d404 collide: handle degenerate case for into-sphere test more robustly
This case happens, for example, when colliding a capsule with identical begin and end points into a sphere.
2019-03-29 13:29:14 +01:00
rdb
63a764a61b display: fix missed cases in 364d5d82fe4b33acd8679a66ecf8f9f55eeb00c8 2019-03-29 13:28:12 +01:00
rdb
5a8a8dd550 tests: add unit tests for lens extrude and project operations 2019-03-29 12:20:01 +01:00
Christopher Snow
b06b5791ca Task: Couple two clauses which execute the same logic.
Closes #589
2019-03-29 12:18:37 +01:00
hecris
2d9079713b tests: add collision tests
Closes #583
2019-03-29 12:15:08 +01:00
rdb
364d5d82fe display: don't apply color-scale-via-lighting to shader inputs
This isn't working properly at the moment, since the state gets set for the *next* object, causing significant artifacts.  I wasn't entirely sure whether to restore the "proper" behavior or not, since applications may be relying on one or the other behavior, but enabling this feature for shaders is a minefield and it's a lot better to just tell people to use p3d_ColorScale instead.
2019-03-26 23:12:41 +01:00
rdb
9fd8870766 Merge branch 'release/1.10.x' 2019-03-21 12:44:24 +01:00
rdb
b0a5cceafd glgsg: fix support for matrix arrays in vertex data 2019-03-21 12:35:53 +01:00
Sam Edwards
c63562088b device: Fix missing include 2019-03-18 04:10:35 -06:00
Sam Edwards
ff06135412 win-stats: Define WIN32_LEAN_AND_MEAN before including windows.h
This prevents pulling in winsock 1, which will cause compiler
errors when p3net later tries to pull in winsock 2.
2019-03-18 01:53:36 -06:00
rdb
03041dde16 samples: add info about ShaderTerrainMesh optimization config vars 2019-03-17 22:18:08 +01:00
rdb
03c53bb33b ShaderTerrainMesh: set a bounding volume around the whole terrain
This lets one use multiple ShaderTerrainMesh tiles effectively, with Panda automatically disabling ones that are certainly not in view.  It may be worth an attempt to call `set_bounds_type(BoundingVolume::BT_box)` or set `bounds-type best` in Config.prc to get a tighter volume.
2019-03-17 21:45:27 +01:00
rdb
9e1b40bbb7 Remove unused ThreadSafePointerTo class
It seems that this was created when regular PointerTo was not yet atomic, and never used or updated.
2019-03-17 20:26:59 +01:00
rdb
662f28813a Merge branch 'release/1.10.x' 2019-03-17 20:18:16 +01:00
Flavio Calva
d568282350 samples: add shader-based particle sample
Closes #476

Co-authored-by: rdb <git@rdb.name>
2019-03-17 20:17:34 +01:00
rdb
4f94b3aa0e egg2pg: fix CollisionBox generation for transformed objects
Rather than xforming after the fact, which does not work properly for boxes, we need to apply the transform to the vertices around which the box is generated.

Fixes #506
2019-03-17 19:07:47 +01:00
rdb
e486bbcb3f collide: fix printing CollisionBox 2019-03-17 19:06:45 +01:00
rdb
768dce9244 makepanda: fix locating UCRT shipped with more recent Win 10 SDK 2019-03-17 16:04:12 +01:00
deflected
0840e80f54 makepanda: Fixed building of FreeBSD installer
- Include the python bindings when building the FreeBSD
        installer

Signed-off-by: deflected <deflected@users.noreply.github.com>

Closes #585
2019-03-17 11:56:19 +01:00
Sam Edwards
9284a3cd9c contrib: Fix several includes, and a missing copyright header
The copyright header was removed, apparently by mistake,
in c310c29a7712a06fe68fcb838b8c8a64caa5914b. I've put the
header back, carefully referencing the original to be
certain that I'm not inadvertently changing the copyright
status.
2019-03-17 00:10:01 -06:00
rdb
8194f53206 Merge branch 'release/1.10.x' 2019-03-17 00:20:43 +01:00
rdb
029d7363cd distort: fix use of cylindrical_k in oSphereLens.cxx 2019-03-17 00:17:11 +01:00
rdb
9a26b5fd08 readme: suggest --no-tiff for Android build command
This is because building with tiff seems to have an issue on termux, and it's not actually necessary to build any of the image loaders on Android as we can use the built-in Android APIs.
2019-03-17 00:06:53 +01:00
rdb
6cbc7ac22f makepanda: fix missing Python link when building on Android
[skip ci]
2019-03-16 23:58:13 +01:00
rdb
ea10cf192e Merge remote-tracking branch 'origin/release/1.10.x' 2019-03-12 21:11:56 +01:00
Daniel
fb0807d769 putil: add is_allocated convenience method to UniqueIdAllocator
Closes #580
2019-03-12 21:10:44 +01:00
Sebastian Hoffmann
915e290513 makepanda: expose save_egg_file/save_egg_data to Python
Closes #582
2019-03-12 18:08:19 +01:00
rdb
a8ceac919a Raise version number to 1.10.3 on release/1.10.x branch 2019-03-12 18:08:19 +01:00
rdb
bafd523e2b mathutil: fix bad assert in BoundingBox::set_min_max 2019-03-12 15:36:47 +01:00
Sam Edwards
138e7f935f collide: Fix missing includes 2019-03-12 02:01:09 -06:00
rdb
08b2046cfb readme: update download link to 1.10.2 SDK
[skip ci]
v1.10.2
2019-03-11 01:11:58 +01:00
rdb
8d1bdf0118 Merge branch 'release/1.10.x' 2019-03-10 20:49:52 +01:00
rdb
3f97c3534e doc: fix typo in release notes
[skip ci]
2019-03-10 20:46:13 +01:00
rdb
0dd33265ee doc: add release notes for 1.10.2 2019-03-10 20:44:02 +01:00
rdb
088b90e887 TexMemWatcher: fix compatibility issues with Python 3
Closes #578
2019-03-10 20:21:54 +01:00
rdb
0e70997fbf x11display: fixes for multi-monitor and fullscreen support
- DisplayInformation now gives the list of display modes returned by XRRGetScreenResources if RandR 1.2 is supported, which is apparently more reliable than the previous XRRSizes/XRRRates approach.
- Switching fullscreen on X11 to the current resolution on the CRTC that the monitor is on will make the window cover the CRTC properly, rather than forcing the window to have an origin of (0, 0).
- Passing in the pipe's display width/height is commonly done to go fullscreen at native res, but this may not correspond to a real display resolution.  It now detects when this is done, and interprets this as "go fullscreen at the native resolution on the current CRTC".

Fixes #575
2019-03-10 19:33:13 +01:00
rdb
511b0e7af3 gobj: prevent GeomVertexReader/Writer.set_row with negative row 2019-03-10 19:23:05 +01:00
rdb
a7d9baeeb8 Remove unused ProfileTimer class
It doesn't seem to be used by anything, but it does take up 64+ KiB of memory in every Panda process.
2019-03-10 19:20:43 +01:00
rdb
a634e729c8 interrogate: fix uninitialized var, fixes sporadic nb_true_divide
This was a regression introduced by fa6c066b2f21856036cb24d482a7152406c6c2e2 (which in turn fixed #529)
2019-03-08 11:53:45 +01:00
rdb
08c686ba18 windisplay: fix issues with runtime fullscreen switching 2019-03-08 11:14:56 +01:00
rdb
148134284d Merge branch 'release/1.10.x' 2019-03-07 19:04:27 +01:00
rdb
5b00ff1aa7 readme: update links to point to 1.10.2 thirdparty packages
The 1.10.2 thirdparty packages include a newer version of Pmw (with an __init__.py that will choose the older version when using Python 2).

Fixes #573
2019-03-07 17:45:00 +01:00
rdb
5426ec68dd makepanda: properly respect --x11-incdir setting 2019-03-07 17:33:57 +01:00
rdb
12eeff0dec py_panda: fix memory leak accessing map/seq properties 2019-03-07 17:33:21 +01:00
rdb
e3602ae7c0 Add BACKERS.md, update README.md with info about OpenCollective
[skip ci]
2019-03-05 13:33:47 +01:00
rdb
5f0f005723 tests: add various tests for PythonTask.__dict__ access 2019-03-04 22:59:17 +01:00