Commit Graph

2052 Commits

Author SHA1 Message Date
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
3bb2706eb0 I meant to disable werror=yes. 2022-09-17 01:00:06 +02:00
d1877206a1 Temporarily disable warnings=all for the javascript github action. 2022-09-17 00:57:11 +02:00
d6872e8e09 Backported: CI: Remove unnecessary extra cache step for Emscripten
Co-authored-by: Fabio Alessandrelli <fabio.alessandrelli@gmail.com>
- akien-mga
03940b77a2
Also increase github action versions, and emsdk.
2022-09-17 00:46:21 +02:00
0c1bfd8ea7 Fix inconsistent override warning. 2022-09-17 00:40:05 +02:00
d1a2eaf2e6 Added last backport commit to the changes file. There are a few more random remaining commits, those will be done a bit later. 2022-09-17 00:31:55 +02:00
31491c78bc Add back missing line. 2022-09-17 00:23:56 +02:00
lawnjelly
19dc79114d Prevent drawing MultiMesh with zero instance count
Issuing a driver drawcall for MultiMesh with zero instances crashes some drivers.
2022-09-17 00:22:17 +02:00
lawnjelly
0859d5b60f Portals - Show RayCast debug helper
Switches the raycast helper to global portal_mode, allowing it to show when portals are active.
2022-09-17 00:06:15 +02:00
lawnjelly
d879fe8b1a Portals - clarify docs VisualInstances only
Makes it more clear in the documentation that some debugger features are expected not to show when portals are active.
2022-09-17 00:05:56 +02:00
lawnjelly
dae57cd077 Low priority redraw request for AnimatedSprite
Prevents animated sprite from creating continuous redraws in vital_redraws_only mode.
2022-09-17 00:05:36 +02:00
Rémi Verschelde
e7f63e7022 CI: Downgrade Emscripten to 3.1.18
Emscripten 3.1.19 and 3.1.20 have a showstopping regression that breaks
calling our main function for the editor build.

(cherry picked from commit b353336037af684c2f1455c5e1f4cd649dbc0064)
2022-09-17 00:05:07 +02:00