Sam Edwards
a37eabe089
CMake: Set generated prc's model-cache-dir
properly for Windows/macOS
2019-11-25 03:03:03 -07:00
rdb
1cfd297433
makepanda: specify freetype library after harfbuzz as well
...
This fixes static linking of harfbuzz and freetype, which have a circular dependency on each other.
2019-11-17 20:37:33 +01:00
rdb
92476a3788
dist: fix exception when module has None __path__
2019-11-17 20:36:40 +01:00
Sam Edwards
4556059c90
CMake: Use find_program to detect host tools when cross-compiling
...
In the future, we should also try to do find_package(Panda3D) to use
the host tools even if Panda3D isn't in a system path.
2019-11-13 15:30:26 -07:00
Sam Edwards
f377bdfb29
CMake: Copy thirdparty/**/*.dll to bin/ directory
2019-11-13 15:30:23 -07:00
Sam Edwards
ae59bd031f
CMake: Fix typo
2019-11-11 20:16:00 -07:00
Sam Edwards
0b342d0f9f
CMake: Don't use PythonInterp/PythonLibs when FindPython available
2019-11-11 00:48:14 -07:00
Sam Edwards
1c866dff78
CMake: Don't override Python_ROOT
2019-11-11 00:48:11 -07:00
rdb
d08219584d
particles: combine two soft_start() overloads created by #769
2019-11-11 03:29:46 +01:00
rdb
d088263f6f
Merge branch 'release/1.10.x'
2019-11-11 03:28:39 +01:00
Mitchell Stokes
47feac9a3d
build_apps: Fix defaults for package_data_dirs
...
Fixes #779
2019-11-10 16:58:39 -08:00
Thaumaturge
76d6b7ce58
tests: add unit tests for particle systems and #769 in particular
...
Co-authored-by: rdb <git@rdb.name>
2019-11-10 20:34:03 +01:00
Thaumaturge
c0daa75353
particles: add parameter to delay particle birth in soft_start()
...
Also adds a get_tics_since_birth() getter.
This feature can be used to synchronize different particle effects.
Closes #769
2019-11-10 20:33:45 +01:00
rdb
f47fd8875c
particles: add snake-case aliases to Python particle classes
2019-11-10 20:26:45 +01:00
rdb
ccca3cca3a
gobj: fix crash printing out residency trackers
2019-11-10 19:23:10 +01:00
rdb
2d836697b0
glgsg: fix issue extracting texture data for multiview textures
2019-11-10 19:20:10 +01:00
rdb
cb01d45eb6
glgsg: fix RTM_copy_ram for multiview textures
2019-11-10 19:09:31 +01:00
rdb
6fd662335d
express: fix typo in VirtualFileSystem docstring
2019-11-09 20:27:03 +01:00
rdb
1b863ead55
cppparser: fix finding types in explicitly specialized template class
2019-11-09 20:26:33 +01:00
rdb
f1b235e065
gobj: use range for where possible in PreparedGraphicsObjects
...
This makes the code easier to read and maintain.
2019-11-09 14:45:00 +01:00
rdb
9201d75bbe
gobj: fix crash on shutdown with cached buffer contexts
...
This was a regression from 207263c1a89de2386d140573d5b5c14b53974048
2019-11-09 14:39:49 +01:00
Sam Edwards
9b7bcf2564
Merge branch 'master' into cmake
2019-11-07 21:21:04 -07:00
rdb
d2bd4181e0
interrogate: set tp_base to DTOOL_SUPER_BASE and tp_basicsize to 0
...
The tp_basicsize field, as well as a few others, seem to be inherited from whatever is set in tp_base. In absence of a tp_base, Python will set it to PyBaseObject_Type, which is not at all correct for Panda types.
2019-11-06 10:49:53 +01:00
rdb
bbb334abea
audio: sound.set_time() should take effect immediately
...
Fixes #770
2019-11-06 10:49:27 +01:00
rdb
847ebf667f
Merge branch 'release/1.10.x'
2019-11-06 10:49:05 +01:00
Sam Edwards
856754a3de
general: Don't abuse PyErr_Restore
...
The intended purpose of this function is to restore an exception
that has already been raised and saved with PyErr_Fetch. It should
not be used to raise new exceptions nor should it be used to clear
the current exception.
The especially egregious example is
`PyErr_Restore(exc_type, nullptr, nullptr);`
as the null value may not be handled correctly.
2019-11-05 18:44:20 -07:00
Sam Edwards
0e0b2186c7
CMake: Add #line directives to interrogate_preamble_python_native
2019-11-04 16:43:12 -07:00
Sam Edwards
cf59d3d983
CMake: Remove p3dtoolconfig from build
...
It's just p3prc now, so instead we install some symlinks
2019-11-04 14:02:06 -07:00
Sam Edwards
f7ac439eb1
CMake: Fix p3pgraph build with MSVC+Eigen
2019-11-04 13:41:36 -07:00
Sam Edwards
5b4ea0e277
CMake: Proper Standard compiler flags for MSVC
2019-11-04 13:41:20 -07:00
fireclawthefox
e6fc6c695d
tests: add unit tests for DirectOptionMenu
2019-11-03 12:14:37 +01:00
rdb
2e3b350510
dgui: allow creating DirectOptionMenu without ShowBase
2019-11-03 12:12:42 +01:00
rdb
69e8b4ed3c
showbase: make render2d available to GUI items without ShowBase
2019-11-03 12:09:36 +01:00
fireclawthefox
eb3b45ebb1
dgui: Fix reset text scale on DirectOptionMenu item unhighlight
...
Set text scale to previous unhighlighted scale on unhighlight to keep
custom scales
2019-11-03 11:51:36 +01:00
rdb
78c3db379c
gobj: fix tests crash due to ShaderBuffer context not cleared at GSG death
2019-11-03 11:48:51 +01:00
rdb
9a7e103c33
collide: restore missing CollisionTraverser.showCollisions()
...
This was an accidental regression in e48a40abad5399c7c3a0abffe1dfb3256b9a2317 which unexposed CollisionVisualizer and therefore caused this method to no longer be wrapped by Interrogate.
2019-11-02 20:43:21 +01:00
rdb
6d96028b71
Merge branch 'release/1.10.x'
2019-11-02 20:42:32 +01:00
rdb
c611abc6c2
physx: fix a pair of misformatted docstrings
2019-11-02 20:39:29 +01:00
rdb
3bfd994cf8
general: Fix a couple of misformatted docstrings.
2019-11-02 19:54:25 +01:00
rdb
c52db7239b
makepanda: fix unnecessary re-copy of unmodified direct files
2019-11-02 19:51:16 +01:00
rdb
39988e4787
general: update a few outdated links in API documentation
2019-11-02 19:41:56 +01:00
rdb
22e88a5b6a
direct: a few improvements to API documentation
2019-11-02 19:41:11 +01:00
rdb
40b3c7ccc9
direct: remove empty useless direct.controls.PhysicsRoller module
2019-10-29 23:55:14 +01:00
rdb
a72be90f17
Merge branch 'release/1.10.x'
2019-10-29 23:13:22 +01:00
fireclawthefox
b3c79096e5
distributed: fix division exception in ServerRepository
...
change operator to double slash for integer division
Closes #762
2019-10-29 20:47:48 +01:00
rdb
e1df400f87
makewheel: add pandac/input/*.in interrogatedb files
...
These are present in the normal SDK builds and are useful for analyzing the API, for example for generating FFI code or generating API documentation.
2019-10-29 20:44:52 +01:00
rdb
f149fb4ab0
direct: big formatting changes for the benefit of API reference
...
Part of the effort to move the API reference to Sphinx, see panda3d/panda3d-docs#21
2019-10-29 20:43:41 +01:00
rdb
ffeb8937bf
task: fix unnecessary use of PythonUtil.Queue class
...
A standard list will do just fine here.
2019-10-29 14:57:20 +01:00
rdb
0a622d08e9
direct: fix a few broken imports
2019-10-29 14:57:04 +01:00
rdb
a9759fab14
makepanda: fix makepanda.bat to look in Python 3.7 folder
2019-10-25 11:50:50 +02:00