24393 Commits

Author SHA1 Message Date
rdb
a8a775ad09 Merge branch 'release/1.10.x' 2020-01-04 02:49:28 +01:00
rdb
0e1b524885 gobj: fix Material ambient/diffuse/specular when reading from bam
Fixes #828
2020-01-04 01:21:54 +01:00
rdb
24783924d0 pgraph: fix int return from bool method 2020-01-04 01:21:54 +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
135931c926 pgraph: fix faulty comparison code of ShaderInput vectors 2020-01-03 22:00:09 +01:00
rdb
b60c3e6c7e tests: add unit tests for ShaderInput comparison (#827) 2020-01-03 18:52:55 +01:00
rdb
fe1ecd5e79 pgraph: fix ShaderInput ordering for vector inputs with small floats
Fixes #827
2020-01-03 18:48:23 +01:00
rdb
3367fe266f tkpanels: properly test "None" return from askopenfilename 2020-01-03 18:19:39 +01:00
rdb
438130a157 readme: update build instructions for Windows 2020-01-02 01:11:19 +01:00
rdb
7ca66bfe6f tkpanels: work around tkinter bug cancelling file open dialog on macOS
Fixes #811
2020-01-02 01:06:03 +01:00
rdb
2b9cc61d04 grutil: fix wrong method name in LineSegs docstrings 2020-01-02 00:36:29 +01:00
rdb
c02bbe50af p3d: add deprecation notice to all direct.p3d modules 2019-12-31 17:15:34 +01:00
rdb
afd7fc8a25 dxgsg9: don't try to Release() vertex buffer if it failed to create 2019-12-31 17:15:07 +01:00
Sam Edwards
15c7e6fbe5 CMake: Rename COMPOSITE_* to CMAKE_UNITY_BUILD* where appropriate
This allows us to use 3.16+ unity build support when available,
falling back to our own stuff when not.
2019-12-31 06:48:07 -07:00
Sam Edwards
b00d7b23bc CMake: Use CMAKE_FIND_PACKAGE_PREFER_CONFIG to control find_package override 2019-12-31 06:48:06 -07:00
Sam Edwards
74e9c610d3 CMake: Don't assume <PackageName>_FOUND will always be caps
This is more consistent with the new find_package() behavior,
especially when CONFIG mode is involved.
2019-12-31 06:47:34 -07:00
rdb
3755e157bf dgui: remove erroneous p3d. prefix (regression from #819) 2019-12-30 03:24:16 +01:00
LD
88fd65394b dgui: Add DirectGui events for wheel up and down mouse events
Closes #819
2019-12-30 03:07:52 +01:00
LD
ff1a2632bd cocoa: Remove now useless respondsToSelector for setWantsBestResolutionOpenGLSurface
Closes #820
2019-12-30 03:07:15 +01:00
Leandro (Cerberus1746) Benedet Garcia
12f8363284 linmath: support round(), floor(), ceil() in vector classes
Closes #821
2019-12-30 03:06:00 +01:00
rdb
c71234eda9 makepackage: prevent installation of package on macOS <10.9 (#300) 2019-12-30 02:42:08 +01:00
rdb
b78b7be326 Merge branch 'release/1.10.x' 2019-12-30 01:50:54 +01:00
LD
45461e667a cocoadisplay: use same scaling factor as the current view when switching to fullscreen on MacOS 10.15+
Fixes #794
2019-12-29 22:24:56 +01:00
rdb
fccffb4932 glgsg: fix texture extraction of MRTs in OpenGL ES
Fixes #815
2019-12-29 17:47:36 +01:00
rdb
2d11f36c9e makepanda: add docstring for panda3d.dtoolconfig module 2019-12-29 15:06:24 +01:00
rdb
15d6e0c543 actor: support custom Python loader hooks
Fixes #750
2019-12-29 14:57:43 +01:00
rdb
0972dfa457 dcparser: fix ability to compile outside of Panda
Fixes #759
2019-12-29 14:27:05 +01:00
MDTech-us-MAN
0926a3cde5 readme: update Android build instructions (from #716) 2019-12-29 14:26:19 +01:00
rdb
530955b53e makepanda: add explicit link to libOpenMayaUI.dylib on macOS
This is needed when compiling without -undefined dynamic_lookup
2019-12-29 14:19:58 +01:00
rdb
8bb9abfbb0 x11display: fix compile warnings 2019-12-29 13:55:28 +01:00
rdb
4c3b6fcc03 makepanda: libIMFbase.dylib is no longer shipped with Maya 2020 on macOS 2019-12-28 21:27:51 -05:00
rdb
7aab057245 makepanda: change strange rpath argument for maya2egg on macOS
It doesn't seem like this setting is actually needed (because mayapath does the necessary set-up), but while it's set, we might as well set it to something more sensible.
2019-12-28 21:25:41 -05:00
rdb
8c82cf5800 makepanda: --universal should not enable i386 when targeting 10.15+
[skip ci]
2019-12-29 00:27:59 +01:00
rdb
c0fd600454 stdpy: threading2: join non-daemonic threads at interpreter shutdown
Fixes #758
2019-12-28 23:51:54 +01:00
rdb
bb3bfebdc2 stdpy: support name and daemon properties in threading2 module 2019-12-28 23:48:04 +01:00
rdb
2f31c9ce68 stdpy: recognize daemon=True argument in Thread constructor 2019-12-28 23:46:58 +01:00
rdb
5eb40b9061 makewheel: remove maya2egg#_bin.exe from entry_points.txt
These are not intended to be invoked by the user directly, so .exe wrappers do not need to be generated.  maya2egg will find the _bin equivalent by looking for it next to the executable itself.
2019-12-28 21:27:58 +01:00
rdb
c2a5b08de5 mayapath: fix maya tools when running from pip installation
Fixes #709
2019-12-28 20:58:13 +01:00
rdb
7b5e11e9c9 makepanda: add support for Windows 10.0.18362.0 SDK 2019-12-28 20:57:44 +01:00
rdb
1c50abb79b Add support for Maya 2020 2019-12-28 20:57:21 +01:00
rdb
e13719132b dxgsg9: don't attempt to restore gamma if it wasn't modified 2019-12-28 18:04:55 +01:00
rdb
b656b0bbf9 dxgsg9: recreate vertex buffer if size was modified
Fixes #824
2019-12-28 18:01:51 +01:00
rdb
b9713f71b1 tests: add some DCPacker unit tests (for #751) 2019-12-25 16:58:11 +01:00
rdb
cb53e5d822 dcparser: fix unpacking uint64 and int64
Closes #751
2019-12-25 16:57:06 +01:00
rdb
ac85b05400 py_compat: fix _PyObject_CallNoArg in Python 3.5 2019-12-25 16:32:19 +01:00
Sam Edwards
cdc16291dd CMake: SKIP_COMPOSITING -> SKIP_UNITY_BUILD_INCLUSION
The latter is what CMake (3.16+) itself uses; we should start using
CMake's own unity build capabilities if available.
2019-12-24 17:20:43 -07:00
Sam Edwards
10760d5f7a CMake: Properly redetect Python if WANT_PYTHON_VERSION changes 2019-12-24 16:16:31 -07:00
rdb
307eea57a1 Change from deprecated macOS-10.14 to macOS-latest in GitHub Workflow 2019-12-20 11:47:27 +01:00
rdb
f522970046 makepackage: remove old PackageMaker command invocations
pkgbuild is used as of Mac OS X Lion.
2019-12-20 11:45:13 +01:00
Derzsi Dániel
9455fb3f73 dgui: resolve DirectFrame regression
Closes #810
2019-12-20 11:44:25 +01:00