Commit graph

35427 commits

Author SHA1 Message Date
lawnjelly
1a9b5b7c99
Merge pull request #88345 from SysError99/3.x-get_or_add
[3.x] Add a `get_or_add` method to Dictionary
2024-04-04 13:04:16 +01:00
lawnjelly
75cadbabcb
Merge pull request #81089 from SysError99/3.x-dont-warm-about-return-value-discarded
[3.x] GDScript: Don't warn about `RETURN_VALUE_DISCARDED` by default
2024-04-04 13:02:22 +01:00
Rémi Verschelde
02c02403e0
Merge pull request #89149 from AThousandShips/math_improve_3_x
[3.x][Core] Codestyle improvements to math types
2024-03-23 16:43:09 -07:00
lawnjelly
975046932c
Merge pull request #89636 from lawnjelly/optimize_anim_tree
[3.x] Optimize anim tree
2024-03-20 17:18:50 +00:00
lawnjelly
bb9608a7e6
Merge pull request #89609 from 0xafbf/automatic-provisioning-on-release-ios
[3.x] Allow automatic provisioning in iOS when using development signature.
2024-03-19 12:34:46 +00:00
lawnjelly
a0f130e23c Optimize AnimationTree::_process_graph()
Removes redundant lookups on HashMap.
2024-03-18 09:01:41 +00:00
Andrés Botero
9c4035fb7b Allow automatic provisioning in iOS when using development signature.
Implements https://github.com/godotengine/godot/pull/86748/files in 3.x.
2024-03-17 08:56:48 -05:00
A Thousand Ships
3fb36bf395
[Core] Codestyle improvements to math types 2024-03-17 09:22:18 +01:00
lawnjelly
8eaf180f11
Merge pull request #89580 from lawnjelly/fti2d_transform_const_ref
[3.x] Physics Interpolation 2D - change transform API to use const ref
2024-03-17 07:46:52 +00:00
lawnjelly
64457bab85
Merge pull request #89577 from lawnjelly/fti2d_fix_light_resets
[3.x] Physics Interpolation 2D - fix light and light occluder resetting
2024-03-16 17:13:02 +00:00
lawnjelly
e5a4aee3a6 Physics Interpolation 2D - change transform API to use const ref 2024-03-16 16:50:47 +00:00
lawnjelly
f8438601ef Physics Interpolation 2D - fix light and light occluder resetting
It turns out `NOTIFICATION_TRANSFORM_CHANGED` is deferred for these nodes, which can mean the transform is not set in the `VisualServer` until after the reset has been sent, even if the transform is set before the reset in script. This prevented the reset from acting correctly.

Here we explicitly set the transform prior to each reset, to ensure the `VisualServer` is up to date.
2024-03-16 16:02:22 +00:00
lawnjelly
a3a43d9623
Merge pull request #65711 from mortarroad/3.x-scene-import-find-animation-player
[3.x] Fix finding AnimationPlayer in scene import
2024-03-16 15:45:45 +00:00
lawnjelly
ac7292ffaf
Merge pull request #89565 from AThousandShips/no_3d_fix_3_x
[3.x] Fix building with `disable_3d`
2024-03-16 14:05:01 +00:00
A Thousand Ships
0f6d2c3441
Fix building with disable_3d 2024-03-16 11:31:23 +01:00
Morris Tabor
ae51d5ad33 Fix finding AnimationPlayer in scene import
The scene importer always assumed that the AnimationPlayer is called
"AnimationPlayer".

This is not always true: for example the GLTF importer just creates an
AnimationPlayer with the default name, which may be "animation_player",
depending on the project settings.

This fix instead chooses the first node that is an AnimationPlayer, and
warns if there is more than one.
2024-03-12 20:50:16 +01:00
Rémi Verschelde
bbd9578d18
Merge pull request #89345 from bruvzg/3x_no_li
[3.x, iOS] Remove deprecated LaunchImages support and switch to Storyboard by default.
2024-03-10 11:30:46 +01:00
bruvzg
5255b661b4
[3.x, iOS] Remove deprecated LaunchImages support and switch to Storyboard by default. 2024-03-10 10:10:14 +02:00
Rémi Verschelde
1ad9e856a0
Merge pull request #88198 from lawnjelly/fix_facecount_bug
[3.x] Fix `Mesh::get_face_count()`
2024-03-08 17:54:04 +01:00
Rémi Verschelde
ae7dfd1f13
Merge pull request #85437 from lawnjelly/lod_scene_side
[3.x] Discrete Level of Detail
2024-03-08 17:53:58 +01:00
lawnjelly
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
lawnjelly
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
lawnjelly
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
Rémi Verschelde
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
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
Micky
02a2968764 [3.x] Fix TileSet editor selected regression 2024-02-25 22:46:23 +01: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
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