Commit Graph

87 Commits

Author SHA1 Message Date
rdb 14c4a9ad38 direct: Move particlePath definition to Python (see #1014) 2025-10-15 13:48:00 +02:00
Disyer 62203fb299 contrib: Remove temp-hpr-fix from contrib/sceneeditor 2023-10-22 10:35:04 +02:00
rdb e01cb590de Merge branch 'release/1.10.x' 2023-10-13 23:24:48 +02:00
David Crompton ad8882123b Panda3DToolsGUI: Update setup.py to use setuptools and change Print statements to Python3 syntax 2023-10-11 19:25:42 -07:00
rdb cdc95acf81 Merge branch 'release/1.10.x' 2023-05-08 20:08:48 +02:00
max cc74efa79a Fix assorted instances of leftover Python 3 syntax
Closes #1490
2023-05-05 11:08:17 +02:00
rdb 1c37522026 Merge branch 'release/1.10.x' into master 2023-02-12 14:07:49 +01:00
rdb aaabb6a652 Fix assorted issues uncovered by clang-tidy 2023-02-12 13:55:59 +01:00
rdb a5610f217e Merge branch 'release/1.10.x' into incoming 2022-11-29 20:58:51 +01:00
rdb 5db4b447a6 rplight: Fix PSSM calculation failing with infinite far distance
Fixes #1397
2022-11-26 16:52:55 +01:00
rdb 37795cd596 rplight: Fix redundant `get_lens()` calls 2022-11-26 16:52:37 +01:00
rdb 67fc72bdaf general: Add constness to some methods where it is missing 2022-10-20 21:01:58 +02:00
rdb 46c1b887ea Fix heap alignment with SSE2 on 32-bit Windows by inheriting MemoryBase
Fixes #510
2022-03-02 09:57:44 +01:00
rdb fac6916151 pgraph: Major traversal optimizations
In particular, these optimize the traversal of nodes that are not in view, which are discarded more efficiently.
This change affects both the cull and collision traversers.
2021-11-16 17:30:33 +01:00
rdb 20e4704be2 Merge branch 'release/1.10.x' into incoming 2021-11-16 16:35:08 +01:00
rdb b6e5217154 ai: Add name property to AICharacter class
Closes #1205
2021-11-16 15:10:15 +01:00
rdb 55fb14b792 Merge branch 'release/1.10.x' 2021-05-11 12:21:24 +02:00
rdb be03011f21 rplight: PSSMCameraRig::update() should accept cam node directly
Previously it would always use the first child of the given node (presumably expecting that `base.camera` is passed in), which is inconvenient when dealing with multiple cameras.
2021-05-11 10:31:03 +02:00
rdb 8cbe36b352 Merge branch 'release/1.10.x' 2021-03-01 19:33:27 +01:00
rdb 7e0c770dcd ai: Restore default argument value for AIBehaviors::path_follow() 2021-02-26 11:44:17 +01:00
rdb cf60284ca9 Merge branch 'release/1.10.x' 2020-12-31 00:05:10 +01:00
rdb f7bd54b9ee directtools: Fix use of builtin direct instead of base.direct 2020-12-30 22:34:44 +01:00
rdb 41f67bbe1f sceneeditor: Remove version checks for Python pre-3.0 2020-12-29 14:50:05 +01:00
rdb 25b79a2aef Merge branch 'release/1.10.x' 2020-12-29 14:44:56 +01:00
rdb d3ebeee058 sceneeditor: Fixes for missing/extraneous/misplaced imports 2020-12-29 14:40:49 +01:00
rdb 66ac3be604 Merge branch 'release/1.10.x' into master 2020-09-12 23:23:58 +02:00
rdb f8cb1499be rplight: various API documentation fixes 2020-09-09 17:59:41 +02:00
rdb 5a6e501297 speedtree: Change pandabase.h includes to contribbase.h (see #990) 2020-09-01 08:58:54 +02:00
Mitchell Stokes d547225a55 Move speedtree code to contrib
SpeedTree support in Panda is unmaintained, so move it to contrib to better
reflect it's current status.

Closes #990
2020-09-01 08:57:57 +02:00
Sam Edwards 5fa4af9189 CMake: Rely on GNUInstallDirs to specify install paths
This makes multiarch OSes happy as they can dictate that
64-bit libraries go into 'lib64'
2019-08-31 00:48:42 -06:00
Sam Edwards 1a654cba04 CMake: Record the location that headers are installed
This populates INTERFACE_INCLUDE_DIRECTORIES on the targets
after they're installed.
2019-08-30 22:58:18 -06:00
Sam Edwards 19ed9f6b47 Merge branch 'master' into cmake 2019-08-24 18:07:12 -06:00
Sam Edwards abc941245e general: Fix missing includes (and one forward declaration) 2019-08-24 18:05:28 -06:00
Sam Edwards b3f5c38ef3 CMake: Remove references to "panda3d" from Interrogate 2019-04-14 23:10:49 -06:00
Sam Edwards 671f15e052 Merge branch 'master' into cmake 2019-04-13 17:29:44 -06:00
Sam Edwards 3a9353c0ca CMake: Build 'contrib' 2019-03-18 01:56:38 -06:00
Sam Edwards 9284a3cd9c contrib: Fix several includes, and a missing copyright header
The copyright header was removed, apparently by mistake,
in c310c29a77. 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 3e22578529 New branding images for 1.10.0 2019-01-03 14:44:17 +01:00
Sam Edwards a9dfd8352e general: Distinguish local/system includes
This changes includes so that local includes are consistently
#include "localFile.h"
while system and third-party includes are consistently
#include <systemFile.h>

This commit mostly converts the former to the latter; the two
exceptions are in android_main.cxx and fmodAudioSound.h, where
the reverse was necessary.
2018-11-10 18:00:10 -07:00
rdb 3d383a3d9c sceneeditor: get it to run with Python 3 2018-08-10 23:53:33 +02:00
John Cote e99f8a7bcc sceneeditor: clean up scene editor code, removing deprecated calls
Closes #373
2018-08-10 23:50:36 +02:00
rdb 886e1c2f16 general: fix many compilation warnings in GCC 8 2018-06-19 00:37:28 +02:00
Sam Edwards b2bfb31114 general: Remove `using std::*` from headers
Also remove most `using namespace std;` statements. The only one that remains is in py_panda.h.

Closes #350
Closes #335
2018-06-14 16:04:49 +02:00
rdb ac4b8d1e1d Fix various compilation warnings 2018-06-11 14:53:25 +02:00
Sam Edwards 7790f8429d general: Fully qualify header references into the std namespace
Closes #341
2018-06-07 10:35:12 +02:00
Sam Edwards e2b4353800 general: Replace NULL (and 0 as pointer) with C++11 nullptr
Exceptions to this replacement are:
- .c files
- Headers included by a .c file
- stb_image.h
- dr_flac.h
- Strings
- Comments
2018-06-03 16:35:13 -06:00
rdb e0245d2777 First step towards eliminating `using namespace std;` (#335) 2018-06-03 20:32:23 +02:00
rdb 21d8c29645 More warning fixes 2018-06-03 06:45:35 -04:00
rdb 0de981d0b8 ai: make AICharacter reference counted
This lets one drop the reference to AICharacter after adding it to a flock or AIWorld without crashes.

Also replace the silly and inefficient custom-rolled linked list implementation of AICharPool with a vector, and add additional safety checks.

Fixes #318
2018-05-27 12:59:41 +02:00
rdb b62435a373 general: remove all uses of deprecated upcastTo*() methods
These methods have not been needed for a very long time, so we should not encourage their use.
2018-02-27 15:02:49 +01:00