Commit Graph

1963 Commits

Author SHA1 Message Date
Rémi Verschelde
36356df17e SCons: Add methods.get_version_info() method returning a Dict
This makes it possible to retrieve all relevant versioning info used to
generate `core/version_generated.gen.h` in the buildsystem.

Notably it makes the custom logic parsing the `GODOT_VERSION_STATUS`
environment variable to override status easy to reuse.

(cherry picked from commit d432fe38a9a65b9e84964a7393c9fe4ce22361a3)
2022-10-08 16:28:01 +02:00
kobewi
b97535aead Fix crash when playing Tween right after finishing
(cherry picked from commit 1a462bc84e095125661efb5a0254f36e73197cd9)
2022-10-08 16:23:45 +02:00
smix8
8be98b9138 Exclude disabled CollisionShapes from Navigationmesh baking
Excludes disabled CollisionShapes from the geometry parsing for the NavigationMesh baking.

(cherry picked from commit 534ff93b05446f5692bcee95f51400c211b080ff)
2022-10-08 16:23:20 +02:00
Voylin
cceba8f6ef Fixes doc/Makefile fails if path contains spaces
(cherry picked from commit 0fd29f76a239a926684dccbfbfe904cf6494690b)
2022-10-08 16:22:55 +02:00
Ted Spikes
f66c0b7d91 Check for ios_simulator when building for x86_64
(cherry picked from commit 21f7bd0723be5ca594547074d01dd92e5bf35e9c)
2022-10-08 16:22:25 +02:00
Martin Liska
900b76545e Fix building VHACD with GCC 13.
Fixes the following error:
thirdparty/vhacd/inc/vhacdICHull.h:46:31: error: 'uint32_t' does not name a type
   46 |     ICHullError Process(const uint32_t nPointsCH, const double minVolume = 0.0);
      |                               ^~~~~~~~

Note the upstream version of the third party library is not affected.

(cherry picked from commit a648d831a9e4175db3b333e6416e2cf3be9959ef)
2022-10-08 16:21:54 +02:00
Michael Alexsander
6730fc8f0f Shrink shader editor's oversized borders
(cherry picked from commit c2553f530be9c137fe992d5d4521e13de92a32b2)
2022-10-08 16:21:25 +02:00
dzil123
ace2a22838 Ignore node rename if already exited blend tree
(cherry picked from commit f9bee9099457a7e582ad785f5134a86ed1f8fac5)
2022-10-08 16:20:50 +02:00
kobewi
9607de4c8e Add more clarifications about Tween processing
(cherry picked from commit 038cb677cbde3adcc692296b3113398cd351f9fe)
2022-10-08 16:20:23 +02:00
Rémi Verschelde
fe5d1cc8ff SCons: Refactor handling of production flag and per-platform LTO defaults
Fixup to #63288.
See #65583 for the bug report.

Co-authored-by: Cyberrebell <chainsaw75@web.de>
(cherry picked from commit 35a15e619161798820b2bd6ff46178c5b7ccebcf)
2022-10-08 16:18:23 +02:00
Haoyu Qiu
33e7f7d411 Fix typo in CollisionObject documentation 2022-10-08 16:17:34 +02:00
67b7c1689f Fix compile. 2022-10-08 16:15:55 +02:00
lawnjelly
cd68b6e1e2 CPUParticles initialize data on set_amount
Fills particle data with zeroes on resize using set_amount(), to prevent garbage data including Nans being sent to VisualServer, which can corrupt the spatial partitioning.
2022-10-08 16:13:50 +02:00
kleonc
4da6c31ba9 SpriteBase3D Fix drawing AtlasTextures with vertical margins differently than in 2D 2022-10-08 16:09:18 +02:00
92af14b0b0 Ported: Move duplicated drawing code from Sprite3D/AnimatedSprite3D to SpriteBase3D
- kleonc
0bf2b8e813
2022-10-08 16:08:49 +02:00
bd17c39172 Ported Fix variables highlighting as types - dzil123 for CScript. 2022-10-08 15:58:44 +02:00
dzil123
6cb08c7164 Fix variables highlighting as types 2022-10-08 15:56:49 +02:00
808f157b26 Added nissing projection * projection Variant operator. 2022-10-07 03:09:38 +02:00
029a6671b4 Moved from the TERRAMAN_2D_PRESENT define to the module system's equivalent define aswell. 2022-10-05 15:19:59 +02:00
7357a4f65c Removed stray old define. 2022-10-05 14:36:51 +02:00
258857332c Replaced MESH_UTILS_PRESENT defines aswell. 2022-10-05 14:35:44 +02:00
50e1108e18 Replaced PROPS_2D_PRESENT define for the module system's equivalent. 2022-10-05 13:20:42 +02:00
2fdaacfa66 Moved away from the MESH_DATA_RESOURCE_PRESENT define aswell. 2022-10-05 12:54:17 +02:00
73742e947d Also mvoed away from the TERRAMAN_PRESENT define. 2022-10-05 11:54:21 +02:00
14c44e5727 Also moved away from the old VOXELMAN_PRESENT macro. 2022-10-05 11:35:51 +02:00
ea2a36c4ea Also replaced the old PROPS_PRESENT defines with the module system's generated defines. 2022-10-05 11:16:32 +02:00
a0472fb6eb Fix typo. 2022-10-05 10:30:52 +02:00
ece362681d Replaced the old TEXTURE_PACKER_PRESENT defines with the module system's generated defines. 2022-10-05 10:25:48 +02:00
8e6ff671a8 Fix the job name of the android editor's github action. 2022-10-04 20:20:08 +02:00
32a37f081e Fixed PluginRefresher when a project only has one addon. 2022-10-04 18:10:27 +02:00
ce58de4e2e Added an option to automatically reload or save instead of asking what to do after a file changed outside the editor. 2022-10-04 17:59:33 +02:00
61cb76bc4a Added a pr to the todos file. 2022-09-20 17:34:07 +02:00
9451e14acf Added a todo. 2022-09-20 17:29:33 +02:00
89cba992ba Now the target fps is customizable for ThreadPool when threading is not enabled. 2022-09-17 23:25:47 +02:00
099b05380e Fix race condition. 2022-09-17 22:35:42 +02:00
48d26e9400 Fix setter parameter types for ThreadPool. 2022-09-17 22:23:29 +02:00
a8d5a37024 Re-enabled the android editor's github action. 2022-09-17 21:47:09 +02:00
42a9dc5e8d Fixed the android editor, now it can open projects again. Also smaller codestyle fixes. 2022-09-17 21:27:19 +02:00
f30076a9f5 Ported: Disable menus and functionality that are not relevant on the Android Editor port - m4gr3d
1f23bac645
2022-09-17 17:36:35 +02:00
6b9e851e5c Ported: Fix issue causing the project manager to crash because of missing path argument
In the process, the initialization logic is updated to show an error message and gracefully close the engine when setup errors occur.
- m4gr3d
4be7c91cd9
2022-09-17 17:27:50 +02:00
6e97e0c485 Fix android build. 2022-09-17 17:14:19 +02:00
7268ef04f7 Ported: Enable long press, pan and scale gestures for the Godot Android Editor
Fix the bug causing the editor to crash when running the project.
- m4gr3d
63df48a59c
2022-09-17 17:01:46 +02:00
0bb6a05a4e Removed now unneeded classes. 2022-09-17 16:35:58 +02:00
e8625c21fe Small improvements to the android platform. 2022-09-17 16:31:49 +02:00
379a669f65 Updated the example build config file. 2022-09-17 14:34:50 +02:00
554cf8c861 Fix android build. 2022-09-17 12:30:19 +02:00
ccba47dc7c Ported: Cleanup the Android input logic implementation - m4gr3d
440fa10246
2022-09-17 11:35:25 +02:00
93eb41c69e Ported: added options for sorting transparent objects
- QbieShay, akien-mga, clayjohn
acdcbefa4e
2022-09-17 10:54:57 +02:00
64f5bd2339 Ported: Bind Physics Interpolation functions in VisualServer
To allow maximum flexibility in the initial rollout, VisualServer functions were not bound in order to prevent compatibility issues if the API changed.

These functions are now bound to allow direct use from the VisualServer.
- lawnjelly
96a1b86717
2022-09-17 10:22:26 +02:00
84962081bd Ported: CI: Sync configuration with master branch
Updates various actions to latest versions:

actions/cache@v3
actions/checkout@v3
actions/upload-artifact@v3
actions/setup-dotnet@v2
actions/setup-java@v3
actions/setup-python@v4
mymindstorm/setup-emsdk@v11
- akien-mga
abaa76fcf9
2022-09-17 09:55:21 +02:00