Commit Graph

35612 Commits

Author SHA1 Message Date
ae7dfd1f13 Merge pull request #85437 from lawnjelly/lod_scene_side
[3.x] Discrete Level of Detail
2024-03-08 17:53:58 +01:00
6c35b48986 Merge pull request #88305 from Ovnuniarchos/editor_properties_fixup
[3.x] Fix EditorPropertyLocale connecting to inexistent signal `text_submitted`.
2024-03-08 14:15:55 +00:00
758daacd24 Merge pull request #88490 from AlekseyKapustyanenko/Rotary-input-3.x
[3.x] Add rotary input support for Android platform
2024-03-08 14:11:51 +00:00
04670d05cc Merge pull request #87689 from BZ1234567890/issue-87059-b3x
[3.x] [Android 14] Fix GodotEditText white box showing during game load
2024-03-07 16:06:32 +00:00
60ff43b7ce Merge pull request #88943 from lawnjelly/fix_scenedock_filter_crash
[3.x] Fix SceneTree dock filter crash
2024-02-28 09:45:28 +01:00
9a9dccbaa2 Fix physics on_floor_body crash
Physics body previously stored the RID of a collision object and accessed it on the next frame, leading to a crash if the object had been deleted.
This PR stores the ObjectID in addition to the RID, and checks the object still exists prior to access.
2024-02-28 07:54:00 +00:00
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
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
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
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
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
02a2968764 [3.x] Fix TileSet editor selected regression 2024-02-25 22:46:23 +01:00
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
99c8cd2b17 Rotary input for 3.x 2024-02-18 22:25:10 +04:00
1e7c60174e fix crash on mat creation after orm refactor 2024-02-16 20:51:27 +01:00
90b83e77a6 [3.x] GDNative: Fix Linux arm32 warning about ignored sysv_abi attribute 2024-02-15 14:30:03 +01:00
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
1065527ca7 [3.x] [Android 14] Fix GodotEditText white box showing during game load 2024-02-15 01:10:00 +01:00
86b23b6473 FIXED: Trying to connect inexistent signal text_submitted. 2024-02-13 23:26:54 +01:00
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
51681ed501 Backport fix documentation about body_shape_index 2024-02-10 17:39:54 -06:00
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
354404db60 Merge pull request #76023 from Ansraer/3.x_orm
[3.x] Add ORMSpatialMaterial
2024-02-08 22:51:09 +01:00
b9cbffd957 add ORMSpatialMaterial 2024-02-08 20:34:11 +01:00
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
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
dbe3eca69b Merge pull request #86339 from lawnjelly/vertex_cache_optimizer
[3.x] Vertex cache optimizer
2024-02-07 11:11:08 +01:00
0aa22b8f13 Vertex cache optimizer
Optimizes indices to make good use of vertex cache on GPU.
2024-02-07 09:35:50 +00:00
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
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
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
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
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
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
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
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
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
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
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
e922e49b13 [3.x] GDScript: Fix get_method_list for custom functions 2024-02-07 10:10:32 +03:00
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
d0f9fe2ac5 [3.x] Document some Image methods can unlock it (making set_pixel fail) 2024-02-04 02:30:45 +01:00
8049fbdb9f [3.x] Improve Scene Tree Dock's Node filter (Allow multiple terms & more) 2024-01-31 10:27:16 +01:00
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
8b79135538 Add MergeGroup node to simplify merging Meshes at runtime 2024-01-31 08:28:51 +00:00
a81d96c637 mbedtls: Update to upstream version 2.28.7
(cherry picked from commit dec635119e)
2024-01-30 19:39:19 +01:00
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
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
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
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