23892 Commits

Author SHA1 Message Date
rdb
886d44d15d glgsg: fix multisampling for floating-point framebuffers 2019-01-09 22:39:05 +01:00
rdb
649372d333 Loader: work around Python 3.7 await headache caused by PEP 479
Generators can no longer raise StopIteration, and we are supposed to use "return" instead.  But, return with value inside generator is a syntax error in Python 2.

Fixes #513
2019-01-09 22:14:50 +01:00
rdb
d1845530aa task: fix mutex recursion when task awaiting other task ends 2019-01-09 22:12:02 +01:00
rdb
e64a342a9f task: fix error awaiting already scheduled task
To reproduce this issue, try `await taskMgr.add(Task.pause(1.0))`
2019-01-09 20:10:10 +01:00
rdb
7262f16ed8 tkwidgets: fix missing import from Valuator module
Fixes #519
2019-01-09 19:24:45 +01:00
rdb
e215ff2928 makepackage: fix error building macOS package for Python 3.x only 2019-01-09 19:20:45 +01:00
rdb
84df25cfe3 glgsg: fix sRGB support in multisample FBOs 2019-01-09 00:49:14 +01:00
rdb
193ae8a3a6 pgraph: take advantage of constant initialization for states maps
SimpleHashMap has a constexpr default constructor, so there is no static init ordering issue that requires us to allocate the states maps on the heap and then to leak them.
2019-01-07 18:40:30 +01:00
rdb
441e1e3d66 Bump version number on master to 1.11.0 2019-01-07 18:40:02 +01:00
Kyle Smith
8cf28e8d2c wx: Fixed deprecation warnings/errors
- Warnings/Errors associated with LevelEditor.
2019-01-06 18:54:08 -07:00
Kyle Smith
4f548889a8 leveleditor: Use panda3d.core 2019-01-06 18:54:08 -07:00
Kyle Smith
294dc5fc40 leveleditor: Fixed relative import for start
- Relative imports only work within modules, not in scripts (as LevelEditorStart is expected to be called directly, not imported).
2019-01-06 18:54:08 -07:00
Jordan Maxwell
58f6f61c4e README: Updated resolution of panda logo
[skip ci]

Closes #514
2019-01-07 00:37:51 +01:00
Sam Edwards
cfa1f043dd CMake: Parse project version string out of setup.cfg 2019-01-06 15:45:50 -07:00
Sam Edwards
654abdc5eb CMake: Detect when to set OPENCV_VER_23/OPENCV_VER_3 2019-01-06 15:37:14 -07:00
Sam Edwards
1a17808991 Merge branch 'master' into cmake 2019-01-06 15:37:07 -07:00
Sam Edwards
0cd850fbb4 vision: Allow including from OpenCV's videoio, for 3.x+
This commit doesn't add buildsystem support yet.
2019-01-06 15:33:11 -07:00
rdb
eed0834ccb makepanda: fix error concatenating platform
[skip ci]
2019-01-06 09:53:35 +01:00
rdb
7132d09e7e Bump version to 1.10.1
[skip ci]
2019-01-06 09:34:55 +01:00
rdb
0c5546bcb0 tests: add unit tests for Audio3DManager sound velocity 2019-01-06 09:32:41 +01:00
rdb
2da791b9fb Audio3DManager: fix regression with setSoundVelocityAuto() 2019-01-06 09:32:41 +01:00
rdb
6e730a2e95 Audio3DManager: accept tuple in setSoundVelocity/setListenerVelocity 2019-01-06 09:32:41 +01:00
rdb
d106fd6a3a device: added checks, robustness, debug output for Windows raw input 2019-01-05 22:00:34 +01:00
rdb
0d5d6466f1 Remove references to obsolete index from requirements.txt 2019-01-05 20:53:11 +01:00
Sam Edwards
0a4c0e53b7 CMake: Move p3glxdisplay from the Core component to OpenGL 2019-01-05 12:17:12 -07:00
Mitchell Stokes
8f4d66db04 tests/build_samples: Use temporary directories to avoid in-source builds 2019-01-04 18:55:31 -08:00
Mitchell Stokes
863e25b6e0 setuptools bdist_apps: Better support relative paths for --build-base option 2019-01-04 18:55:04 -08:00
Sam Edwards
30dd14c991 CMake: Fix "whitelisted property" error from CMake <3.8 2019-01-03 11:40:57 -07:00
rdb
7e562b0eb3 device: remove unused variables on Windows v1.10.0 2019-01-03 16:01:10 +01:00
rdb
4d6b7e96c9 directscripts: change doxygen reference color scheme 2019-01-03 16:01:10 +01:00
rdb
984f83d94b directbase: fix a stray pandac.PandaModules 2019-01-03 16:01:06 +01:00
rdb
8cdeb9b60b device: fix a case issue in include statement 2019-01-03 15:34:30 +01:00
rdb
9ff536432d makepackage: fix locating Panda3D on sys.path on macOS w/ Py 3.7
Also moves panda3d.dist-info directory to /Developer/Panda3D/ so that deleting /Developer/Panda3D makes it possible to install panda3d via pip again.

Fixes #502
2019-01-03 15:04:53 +01:00
rdb
173d3883dc readme: host thirdparty zip on panda3d.org 2019-01-03 14:47:08 +01:00
rdb
3e22578529 New branding images for 1.10.0 2019-01-03 14:44:17 +01:00
Sam Edwards
f01303a0b3 CMake: Fix exported packages on Windows 2019-01-03 06:01:57 -07:00
Sam Edwards
0c890f059d interrogate: Export Python entry points with EXPORT_CLASS
Closes #505
2019-01-03 12:39:22 +01:00
Sam Edwards
ad6cc0f21f CMake: Remove ALTERNATIVE_MALLOC
This apparently no longer does anything.
2019-01-03 02:30:38 -07:00
Mitchell Stokes
3be7c63d42 setuptools build_apps: Add p3assimp to the check_plugins list
This gets rid of the runtime error message about missing Assimp.
2019-01-02 20:29:21 -08:00
Sam Edwards
ce4985a333 interrogatedb: Fix missing 'static' keyword 2019-01-02 10:18:59 -07:00
Sam Edwards
d4df1b3762 Merge branch 'master' into cmake 2019-01-02 06:09:15 -07:00
Sam Edwards
18d5c983de CMake: Make Python static library names use '.'
This is to be consistent with makepanda as of cedd4172c4e.
2019-01-02 06:08:15 -07:00
Sam Edwards
aa9a195665 CMake: Stop CMake from adding -rdynamic by default 2019-01-02 06:02:31 -07:00
Sam Edwards
6e951773a6 pipeline: (Light)ReMutexDirect should include thread.h
Thread methods are used in the respective .I files, so
an incomplete forward declaration won't suffice here.
2019-01-02 01:41:25 -07:00
rdb
c365beaf11 device: hide Steam Controller on Linux while Steam is running
When Steam runs, it mutes all input from the Steam Controller and instead registers a virtual gamepad that obeys the Big Picture controller remapping.  We want to make sure to pick that one, since the "real" Steam Controller doesn't report any events while the virtual device is active.  So we carefully consider the "real" Steam Controller "inactive" if the presence of the virtual device is detected, until the virtual device is disconnected (ie. when Steam is closed) or if it turns out that it is generating events after all, in which case it gets automatically reactivated.

This is a bit of a hack, maybe there is a cleaner way of doing this.
2019-01-02 00:56:40 +01:00
rdb
dccf8074fd android: fix compile errors in androiddisplay module 2019-01-01 22:05:26 +01:00
rdb
ac8be1a2e6 py_panda: fix int-to-enum conversion in Python 2
Fixes #498
2019-01-01 16:32:04 +01:00
rdb
4bf10925b3 samples: prevent duplicate connect assertion in device_tester.py 2019-01-01 16:31:11 +01:00
rdb
a02920bb42 device: detect XInput devices on start-up
This is needed to handle cases where XInput is being emulated, such as when running via Steam with the Steam Controller active.  Steam's shim does not send out WM_INPUT_DEVICE_CHANGE events.
2019-01-01 16:27:55 +01:00
rdb
2bde2baed2 device: a couple of fixes with Windows device input 2019-01-01 16:23:16 +01:00