Commit Graph

35599 Commits

Author SHA1 Message Date
Aleksey Kapustyanenko 99c8cd2b17 Rotary input for 3.x 2024-02-18 22:25:10 +04:00
Ansraer 1e7c60174e fix crash on mat creation after orm refactor 2024-02-16 20:51:27 +01:00
Fabio Alessandrelli 90b83e77a6 [3.x] GDNative: Fix Linux arm32 warning about ignored sysv_abi attribute 2024-02-15 14:30:03 +01:00
SysError99 b3f93ad127 [3.x] Add a `get_or_add` method to Dictionary
Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2024-02-15 19:49:43 +07:00
BZ1234567890 1065527ca7 [3.x] [Android 14] Fix GodotEditText white box showing during game load 2024-02-15 01:10:00 +01:00
Ovnuniarchos 86b23b6473 FIXED: Trying to connect inexistent signal text_submitted. 2024-02-13 23:26:54 +01:00
lawnjelly a32a2613e9 Fix `Mesh::get_face_count()`
This fixes a minor bug whereby facecount was actually returning the facecount * 3.
There were no major problems from this, but it did mean the optional threshold poly count used when merging was out by a factor of 3.
2024-02-11 12:19:52 +00:00
Charlie Burnham 51681ed501 Backport fix documentation about body_shape_index 2024-02-10 17:39:54 -06:00
lawnjelly 1b5fa74e39 Discrete Level of Detail
Add scene side discrete level of detail.

New node `LOD` for UI, and `LODManager` within `World` for automatically updating child visibilities based on distance from cameras.
2024-02-10 18:54:25 +00:00
Rémi Verschelde 354404db60
Merge pull request #76023 from Ansraer/3.x_orm
[3.x] Add ORMSpatialMaterial
2024-02-08 22:51:09 +01:00
Ansraer b9cbffd957 add ORMSpatialMaterial 2024-02-08 20:34:11 +01:00
Rémi Verschelde cc4492f9b9
Merge pull request #88002 from Calinou/x11-fix-build
[3.x] Fix build on X11 following 64-bit detection changes
2024-02-07 23:10:37 +01:00
Hugo Locurcio b859a1898d
Fix build on X11 following 64-bit detection changes
This also ports over the cross-compilation logic to the `server`
platform, and allows Embree to be used in server tools builds on aarch64.
2024-02-07 19:33:21 +01:00
Rémi Verschelde dbe3eca69b
Merge pull request #86339 from lawnjelly/vertex_cache_optimizer
[3.x] Vertex cache optimizer
2024-02-07 11:11:08 +01:00
lawnjelly 0aa22b8f13 Vertex cache optimizer
Optimizes indices to make good use of vertex cache on GPU.
2024-02-07 09:35:50 +00:00
Rémi Verschelde 828cedb569
Merge pull request #67347 from Mickeon/3.x-scene-tree-filter-woohoo
[3.x] Improve Scene Tree Dock's Node filter (Allow multiple terms & more)
2024-02-07 09:50:08 +01:00
Rémi Verschelde e96ebf9218
Merge pull request #61568 from lawnjelly/merge_node
[3.x] Add MergeGroup node to simplify merging Meshes at runtime
2024-02-07 09:49:45 +01:00
Rémi Verschelde dc776e46b6
Merge pull request #60246 from Calinou/directional-light-add-fade-start-3.x
[3.x] Backport DirectionalLight `fade_start` property
2024-02-07 09:49:21 +01:00
Rémi Verschelde 6f8d35138b
Merge pull request #87920 from kleonc/image-doc-unlocking-methods-3x
[3.x] Document some `Image` methods can unlock it (making `set_pixel` fail)
2024-02-07 09:41:46 +01:00
Rémi Verschelde 5eeb4f220d
Merge pull request #87713 from lawnjelly/portal_include_in_bound
[3.x] Portals - include in bound and special cases in start room
2024-02-07 09:41:22 +01:00
Rémi Verschelde 991e922877
Merge pull request #86786 from lawnjelly/calinou_sdf_fixed
[3.x] Fix signed distance field font rendering
2024-02-07 09:40:59 +01:00
Rémi Verschelde 2a1917482a
Merge pull request #86744 from Listwon/custom-shader-compilation-determinism
[3.x] Prevent shuffling custom shader functions (shader cache requires determinism)
2024-02-07 09:40:36 +01:00
Rémi Verschelde 273d5897a0
Merge pull request #85229 from ztc0611/3.x-ios-add-pause-resume-notifs
[3.x] Enhance mobile suspend MainLoop notifications
2024-02-07 09:40:13 +01:00
Rémi Verschelde 862d63e9f7
Merge pull request #81559 from matorin57/3.x-backport-finished-singal-GPU-particles
[3.x] Backport "Add `finished` signal to GPUParticles"
2024-02-07 09:39:49 +01:00
Rémi Verschelde 60b34ed67d
Merge pull request #81426 from Rubonnek/expose-inspector-methods
[3.x] Expose `EditorInspector::get_edited_object` to GDScript
2024-02-07 09:39:24 +01:00
Rémi Verschelde 70ed07c8d1
Merge pull request #68454 from dalexeev/3.x-gds-fix-get-method-list
[3.x] GDScript: Fix `get_method_list` for custom functions
2024-02-07 09:38:56 +01:00
Danil Alexeev e922e49b13
[3.x] GDScript: Fix `get_method_list` for custom functions 2024-02-07 10:10:32 +03:00
lawnjelly bc607fb607 Fix signed distance field font rendering
This fix works in both GLES3 and GLES2.

The rendering formula in the shader was adjusted to further improve the
sharpness/antialiasing quality balance.

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2024-02-05 17:50:33 +00:00
kleonc d0f9fe2ac5 [3.x] Document some Image methods can unlock it (making `set_pixel` fail) 2024-02-04 02:30:45 +01:00
Micky 8049fbdb9f [3.x] Improve Scene Tree Dock's Node filter (Allow multiple terms & more) 2024-01-31 10:27:16 +01:00
lawnjelly 7f3800ece2 Portals - include in bound and special cases in start room
* Re-introduces a property for portals to decide whether they are included in room bounds during room conversion.
* Adds a special case for portals that extend into the start room, which may be caused by level design inaccuracies.
2024-01-31 09:22:33 +00:00
lawnjelly 8b79135538 Add MergeGroup node to simplify merging Meshes at runtime 2024-01-31 08:28:51 +00:00
Rémi Verschelde a81d96c637
mbedtls: Update to upstream version 2.28.7
(cherry picked from commit dec635119e)
2024-01-30 19:39:19 +01:00
Rémi Verschelde 8fe6d9db44
Sync controller mappings DB with SDL2 community repo
Synced with gabomdq/SDL_GameControllerDB@232c738ce0

(cherry picked from commit 10445d80d8)
2024-01-30 15:16:22 +01:00
Rémi Verschelde 72ab4af489
Merge pull request #87739 from akien-mga/3.x-scons-web-workaround-emscripten-version-check
[3.x] SCons: Fix Web build when compiler version isn't properly detected
2024-01-30 15:10:06 +01:00
Rémi Verschelde 4206975e3a
SCons: Fix Web build when compiler version isn't properly detected
Quick fix for #82585.

A better fix requires refactoring the way we detect the compiler version
to make it more reliable, and get a consistent output. But I prefer to
keep changes minimal for 3.x branches at this point.

Also set CI version to 3.1.39, which is what we use for official 3.6 builds
since 3.6-beta4.
2024-01-30 14:54:49 +01:00
Rémi Verschelde 561a6cd503
Style: Mark clang-format 16 as supported for pre-commit hook
It only introduced a difference in a .glsl file, which I've worked
around by removing an empty line. This keeps formatting consistent
between clang-format 15 and 16.

Also added a change in the 3-to-4 project converter to fix bogus
formatting in clang-format < 17.

(cherry picked from commit 49f4860ce3)
2024-01-30 14:42:46 +01:00
Rémi Verschelde ebd65eeb23
certs: Sync with Mozilla bundle as of Dec 13, 2023
bef37a977c
(cherry picked from commit c6e829b4c6)
2024-01-30 14:27:08 +01:00
Rémi Verschelde f255fb89db
CI: Update mymindstorm/setup-emsdk to v14, should fix cache folder conflicts
https://github.com/mymindstorm/setup-emsdk/releases/tag/v14

Co-authored-by: Yuri Sizov <yuris@humnom.net>
(cherry picked from commit 35ef0b32b3)
2024-01-30 14:25:16 +01:00
Rémi Verschelde 7885b5814c
zlib/minizip: Update to version 1.3.1
Minizip includes previously backported fix for CVE-2023-45853,
and a Debian patch for CVE-2014-9485 was also upstreamed.

(cherry picked from commit 8ead8d2ddb)
2024-01-30 14:21:37 +01:00
Rémi Verschelde 885926850d
Merge pull request #87737 from 20kdc/bone2d-fix-apply_rest
[3.x] Fix the documentation of `Bone2D::apply_rest`
2024-01-30 13:36:16 +01:00
20kdc 2f03ba77e9 Fix the documentation of Bone2D::apply_rest (squashed, backport)
Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>
2024-01-30 12:13:02 +00:00
Rémi Verschelde e9949a6db7
Merge pull request #87702 from lawnjelly/portal_export_logging
[3.x] Portals - Improve conversion logging
2024-01-29 23:30:11 +01:00
Rémi Verschelde 8b3eb38791
Merge pull request #87677 from Mickeon/3.x-oooh-Reduz-of-the-past-You're-so-quirky
[3.x] Mention InputEventJoypadButton's pressure not working
2024-01-29 23:29:49 +01:00
Rémi Verschelde d1b6b6f725
Merge pull request #87588 from m4gr3d/update_android_dependencies_3x
[3.x] Update Android dependencies for the project
2024-01-29 23:29:27 +01:00
Rémi Verschelde 721eba5d5d
Merge pull request #87539 from SysError99/3.x-get_first_node_in_group
[3.x] Add `SceneTree::get_first_node_in_group` following 4.x
2024-01-29 23:29:04 +01:00
Rémi Verschelde 1aa4c2fed1
Merge pull request #86642 from Mickeon/3.x-doc-peeves-resourceful-uh-oh-stinky
[3.x] Rewrite most of Resource's documentation
2024-01-29 23:28:42 +01:00
Rémi Verschelde 30b81a4bd9
Merge pull request #84529 from lawnjelly/gles2_gl_fragcolor
[3.x] GLES2 & GLES3 - Use `gl_FragColor` temporary
2024-01-29 23:28:19 +01:00
Rémi Verschelde 6f3c5e63f3
Merge pull request #82584 from lawnjelly/lightcull_23
[3.x] Shadow volume culling and tighter shadow caster culling
2024-01-29 23:27:56 +01:00
Rémi Verschelde 24d1391af9
Merge pull request #64931 from Mickeon/3.x-tileset-collision-group
[3.x] Add Selected Collision Group in TileSet Editor
2024-01-29 23:27:33 +01:00