lawnjelly
39e61b76c6
Fix SceneTree dock filter crash
...
The filter was crashing for two reasons:
1) Deleting a child invalidated the iteration of children
2) Child was accessed after deletion
2024-02-28 05:42:42 +00:00
lawnjelly
6e0468d452
Merge pull request #88367 from Faless/gdnative/arm_sysv_abi_warnings
...
[3.x] GDNative: Fix Linux arm32 warning about ignored sysv_abi attribute
2024-02-27 15:01:22 +00:00
lawnjelly
50fa1896b8
Merge pull request #88828 from Mickeon/3.x-funny-regressions
...
[3.x] Fix TileSet editor selected regression
2024-02-27 13:34:04 +00:00
lawnjelly
23671a4ea5
Merge pull request #88287 from Ansraer/3.x_orm_fix_glb
...
[3.x] Fix crash on mat creation after ORM refactor
2024-02-27 12:29:04 +00:00
lawnjelly
6a31048dbc
Tilemap editor - prevent changing tool when mouse buttons pressed
...
Changing tool when painting prevented the corresponding commit of undo action when the mouse button was released. This led to undo actions getting out of sync and the undo system breaking the editor.
This PR simply prevents changing tool while mouse buttons are pressed, and prevents the above scenario.
2024-02-26 15:27:31 +00:00
Micky
02a2968764
[3.x] Fix TileSet editor selected regression
2024-02-25 22:46:23 +01:00
lawnjelly
788567987a
Portals - defer setting active in VisualServer
until enter tree
...
`set_portal_active()` was being called loading packed scenes prior to entering the tree, visual server portals had not been fully created at this point hence the call was being ignored with an error flagged.
This PR defers the call until after entering the tree.
2024-02-25 10:11:06 +00:00
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