Sam Edwards
36e06236a9
CMake: Remove IS(_NOT)_DEBUG_BUILD
2020-01-21 17:42:17 -07:00
Sam Edwards
7331692ae1
CMake: Generate consistent paths in 20_panda.prc on all platforms
2020-01-11 19:39:43 -07:00
Sam Edwards
ce6caa8d3e
CMake: `/etc/*.prc` -> `/etc/panda3d/*.prc`
2020-01-07 17:04:30 -07:00
Sam Edwards
f75a8d03e0
CMake: Generate panda.prc with `notify-level warning` when not Debug
2020-01-07 13:11:42 -07:00
Sam Edwards
4a307f9cdf
CMake: Generate panda.prc with the correct model-path
...
This also generates a second prc for installation purposes,
which has the correct paths once installed
2020-01-07 13:05:21 -07:00
Sam Edwards
69ff54a3d4
CMake: Break up "GLES" component into OpenGLES1/OpenGLES2
2020-01-07 11:34:34 -07:00
Sam Edwards
e08896deb7
CMake: Update panda3d/__init__.py
...
- Python 2.7 EOL warning is now past tense
- Use os.add_dll_directory() when available (instead of hacking up PATH)
2020-01-06 17:12:37 -07:00
Sam Edwards
c39bda57a0
CMake: On Apple, silence build-time OpenGL deprecation warnings
2020-01-06 17:12:05 -07: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
4000199acb
CMake: Fix Bullet building under clang-cl
2019-12-05 10:34:48 -07:00
Sam Edwards
a37eabe089
CMake: Set generated prc's `model-cache-dir` properly for Windows/macOS
2019-11-25 03:03:03 -07: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
9b7bcf2564
Merge branch 'master' into cmake
2019-11-07 21:21:04 -07: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
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
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 e48a40abad 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
39988e4787
general: update a few outdated links in API documentation
2019-11-02 19:41:56 +01:00
rdb
a72be90f17
Merge branch 'release/1.10.x'
2019-10-29 23:13:22 +01:00
rdb
fd8405cd87
x11display: change info message about unavailable XF86DGA to warning
2019-10-25 10:26:32 +02:00
rdb
3e99d16eb1
gobj: clarify range of GeomPrimitive::offset_vertices() parameters
2019-10-25 10:25:11 +02:00
rdb
dae762f52b
pstatclient: fix compile error when compiling without DO_PSTATS
2019-10-25 10:24:30 +02:00
David Rose
41fa3c52e3
further fix to pfmFile.resize()
2019-10-18 12:50:52 -07:00
David Rose
210780f021
fix array overrun in PfmFile.resize()
2019-10-17 08:31:39 -07:00
Sam Edwards
12c16eb9ff
Merge branch 'master' into cmake
2019-10-15 23:43:25 -06:00
Sam Edwards
9ecaa0056b
CMake: Break out p3interrogatedb as a first-class library
2019-10-15 23:27:03 -06:00
Sam Edwards
73ed31b935
CMake: audiotraits and ffmpeg are MODULE, not SHARED
...
This is important as it forces the lib prefix on Windows,
and omits creating an import .lib when building shared.
2019-10-10 10:42:46 -06:00
rdb
6dcaab2d3a
glgsg: fix multisample FBO for 16-bit float buffer
...
Fixes #756
2019-10-10 15:18:45 +02:00
rdb
a019520dbc
gobj: don't define GeomVertexReader::empty_buffer in opt3 build
2019-10-08 19:52:42 +02:00
rdb
e48a40abad
collide: unexpose CollisionVisualizer
...
The fact that this class only exists in opt3 builds makes it hard to offer ABI compatibility guarantees with opt4 builds; most users probably use this thorugh the high-level interface, so let's unexpose this until someone complains.
2019-10-08 19:51:24 +02:00
rdb
247f3c415a
Merge branch 'release/1.10.x'
2019-10-08 19:50:48 +02:00
rdb
08572f3c38
general: Fix a variety of ABI incompatibility issues with opt4 builds
2019-10-08 19:44:29 +02:00
rdb
0247f9e3fa
physics/particlesystem: remove some unused macros
2019-10-08 19:43:17 +02:00
rdb
5b938278c2
physics: also add set_name/get_name if NDEBUG is set, for ABI compat
2019-10-07 11:36:58 +02:00
rdb
1eeea718c5
display: fix ABI compat with GraphicsStateGuardian flash texture
2019-10-06 11:54:31 +02:00
rdb
ec6638314c
general: remove some oddly-placed audio_error macros
2019-10-06 11:51:15 +02:00
Sam Edwards
5961cc2ee0
Merge branch 'master' into cmake
2019-10-05 15:00:49 -06:00
rdb
114a7c0995
Merge branch 'release/1.10.x'
2019-10-05 21:13:42 +02:00
rdb
207263c1a8
display: handle resource releases in batches, not individually
...
This is intended to eventually replace the old interface, since GSGs may be able to do a batch of prepare/release operations more efficiently.
2019-10-05 21:13:32 +02:00
rdb
802a08b146
glgsg: fix unnecessary create-delete-create of new textures
2019-10-05 21:13:22 +02:00
rdb
8b0256e0f9
glgsg: fix NV driver crash after deletion of buffer that is still bound to a generic attribute index not used by Cg shader after having been used by a GLSL shader directly prior if no shaders are used afterwards
2019-10-05 21:04:09 +02:00
rdb
3a19dfb62e
Fix load_dso error message sometimes being suppressed
2019-10-05 20:56:58 +02:00
rdb
12e71ff1a6
Merge branch 'release/1.10.x'
2019-09-30 14:03:50 +02:00
rdb
9f9e1d8293
chan: print out actual anim info when showing AnimBundleNode in ls()
...
This allows one to more easily discover the animations present in a scene graph, such as when using bam-info -ls to inspect a .bam file.
2019-09-30 14:02:53 +02:00