23150 Commits

Author SHA1 Message Date
rdb
5d3499dc64 x11display: fix crash when starting in fullscreen on Linux/X11
Fixes #618
2019-04-14 18:01:55 +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
98227daaa5 putil: fix SparseArray::clear_range et al
Fixes #588
2019-04-14 17:11:42 +02:00
rdb
3ca3dfd13a interrogate: fix in-place or (|=) operators (see #588) 2019-04-14 17:10:52 +02:00
rdb
8b79fb75b9 glgsg: allow multisampling on FBO even if host has no multisamples
Fixes #601
2019-04-09 13:24:52 +02:00
rdb
d89da168bb PythonUtil: fix use of types.InstanceType in Python 3 in itype()
Really, though, don't use this function.  It does not consider new-style classes, is not consistent in its return values and it seems to do nothing that repr(type(x)) doesn't do.
2019-04-09 12:53:13 +02:00
rdb
9f9665e090 direct: don't use types.InstanceType in Messenger.detailedRepr
Fixes #591
2019-04-09 12:42:06 +02:00
rdb
77d6a9f5c9 ffmpeg: add "FFmpeg" tag to PandaSystem 2019-04-09 12:09:21 +02:00
Daniel Stokes
19b67c3674 samples: Fix "Toon Shader" string in firefly demo
Closes #606
2019-04-04 10:06:07 +02:00
rdb
bf8a959d60 direct: remove multi-line strings with unrunnable test code 2019-04-02 22:45:25 +02:00
rdb
fa43591f7a makepanda: show warning when attempting to build with Python 2.7
See #602
2019-04-02 22:41:09 +02:00
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
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
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
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
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
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
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
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
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
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
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
8e4add0326 interrogate: fix refcount trouble assigning PyObject* properties
In particular, this fixes accessing PythonTask.__dict__
2019-03-04 16:46:28 +01:00
rdb
45778b9e9f device: use threaded message loop on Windows (see #562) 2019-03-04 16:20:52 +01:00
rdb
58df4064da ParticlePanel: fix Pmw error spam when hovering over File menu items
Fixes #552
2019-03-04 14:23:33 +01:00
rdb
4e92b708ff Merge branch 'macosstuckwindowfix' of github.com:treamology/panda3d into release/1.10.x
Closes #536
Fixes #534
2019-03-04 12:23:53 +01:00
Derzsi Dániel
c337e58f4d direct: Resolve DirectScrolledFrame crash on destroy
Destroying DirectScrolledFrames currently crashes the game, because they are destroyed twice. This commit makes sure to destroy the scrolls only once.

Closes #574
2019-03-04 12:18:21 +01:00
rdb
155b1c38ad bullet: properly expose bullet_contact_added_callback symbol
Fixes #571 (alongside 92993fe8891257aed9d12967bd0fff0af03adfc4)
2019-03-03 21:14:47 +01:00
rdb
92993fe889 bullet: fix assert when setting mass before shape (#571)
Requires compiling Bullet in debug mode to reproduce.
2019-03-03 21:13:36 +01:00
rdb
fa6c066b2f interrogate: enable true division in Python 2 as well
This allows using "from __future__ import division" and get the expected result for divisions in Python 2.

Fixes #529
2019-03-03 10:29:39 +01:00