Commit Graph

80742 Commits

Author SHA1 Message Date
Michael Wörner 77208a62a4 Fix String.GetExtension() return value.
It previously returned the string itself when it should return an empty string according to the docs/examples and the C++ counterpart String::get_extension().
2025-06-27 12:01:11 +02:00
あるる / きのもと 結衣 6e39808ed7 Fixed generate_triangle_mesh when using PRIMITIVE_TRIANGLE_STRIP 2025-06-27 13:52:53 +09:00
Jakub Marcowski 893f5b37f4 meshoptimizer: Update to 0.24 2025-06-27 01:02:34 +02:00
Serhii Snitsaruk 1bea370df7 Add JNI variant conversion for generic Array 2025-06-26 19:16:52 +02:00
kobewi 4fd9b45189 Don't rename nodes when tree is invisible 2025-06-26 19:06:44 +02:00
Dario 4921a3e711 Fix VVL errors by changing frag_color to FP32 and dFdx/y. 2025-06-26 13:42:17 -03:00
Adam Scott c56d131876 [Web] Poll controllers only if at least one is detected
Keeps the spirit of #105601
2025-06-26 08:33:25 -04:00
Adam Scott 722accc5c8 Revert "Web: Avoid unnecessary gamepad polling when no gamepads are connected"
This reverts commit 3e7e09f915.
2025-06-26 08:07:29 -04:00
风青山 efed435fa3 Fix screen_accum not being reset when it should be in Input::VelocityTrack
Resets `screen_accum` like `accum`.
2025-06-26 20:06:03 +08:00
kobewi b615c7b3db Block Tween custom_step() during step 2025-06-26 12:27:53 +02:00
danielgsilva ed1e8a1460 Fix mismatch of constructors 2025-06-26 10:35:47 +01:00
Rémi Verschelde 9a3976097f Merge pull request #105984 from bruvzg/sparse_pack
Android: Implement sparse bundle PCK support.
2025-06-26 01:55:14 +02:00
Pāvels Nadtočajevs 42733a2a5c Implement sparse bundle PCK support. 2025-06-26 00:47:25 +02:00
Saver310 3eab5f6ac2 Add Polish translation for Linux .desktop file 2025-06-26 00:17:02 +02:00
Thaddeus Crews d89f4ab32f Merge pull request #107965 from KoBeWi/deprecate_deprecation
Restore `graph_offset` property
2025-06-25 15:14:07 -05:00
Thaddeus Crews bf9346caad Merge pull request #107898 from BlueCube3310/image-invis-fix
Image: Fix `is_invisible` detection for RGBAH and RGBAF
2025-06-25 15:14:07 -05:00
Thaddeus Crews 525628147e Merge pull request #107987 from raulsntos/dotnet/avoid-duplicate-archs
[.NET] Avoid exporting to duplicate architectures
2025-06-25 15:14:06 -05:00
Thaddeus Crews 6af3aa54fd Merge pull request #107985 from simpkins/lods_bug
Fix `RenderingServer::mesh_surface_get_lods()`
2025-06-25 15:14:05 -05:00
Thaddeus Crews 3071b98bbe Merge pull request #107962 from geowarin/update-controller-db
Sync controller mappings DB with SDL community repo
2025-06-25 15:14:04 -05:00
Thaddeus Crews e541ed13b2 Merge pull request #107823 from KoBeWi/setgettt
Clarify `_set`/`_get` description
2025-06-25 15:14:04 -05:00
Thaddeus Crews b310244be1 Merge pull request #107848 from bruvzg/scn_uid_dec
Always decode `--scene` argument UID path.
2025-06-25 15:14:03 -05:00
Thaddeus Crews 75958c92eb Merge pull request #107976 from Calinou/doc-gradient-sample
Document `Gradient.sample()` clamping behavior
2025-06-25 15:14:02 -05:00
Thaddeus Crews b3924e60ca Merge pull request #107973 from paddy-exe/fix-apple-embedded-microphone-input
Add permission request for Apple embedded platforms, fix microphone input
2025-06-25 15:14:01 -05:00
Thaddeus Crews 17f3c6ce19 Merge pull request #107971 from BlueCube3310/dds-cube-fix
DDS: Fix loading cubemaps
2025-06-25 15:14:00 -05:00
Raul Santos 70d0ecbb16 [.NET] Avoid exporting to duplicate architectures
Use a `HashSet` to avoid adding duplicate architectures on exporting. It seems we were adding `x86_64` and `arm64` twice to macOS exports because they are also included in the features.
2025-06-25 21:41:29 +02:00
Adam Simpkins ad4dff7cbe Fix RenderingServer::mesh_surface_get_lods()
This function was incorrectly using the surface number to index into the
LOD indices vector.  This resulted in just returning the same index over
and over again.  In theory if you had a mesh with more surfaces than one
of its LOD vectors it could read pass the end of the LOD index array.

The SoftBody3D code creates a new ArrayMesh by duplicating the input
mesh, and uses `mesh_surface_get_lods()` to duplicate the LODs.  The
broken behavior here results in SoftBody3D creating broken meshes that
render nothing due to each LOD just using a single vertex.  This commit
fixes SoftBody3D to now work correctly with meshes with LODs.

Fixes #107984.
2025-06-25 10:37:44 -07:00
kobewi 28a11ab551 Restore graph_offset property 2025-06-25 18:25:57 +02:00
Patrick Exner 5a7b6b7159 Add permission request for Apple embedded platforms, fix microphone input
Co-Authored-By: Miguel de Icaza <miguel@gnome.org>

Supersedes https://github.com/godotengine/godot/pull/107233
Fixes https://github.com/godotengine/godot-proposals/issues/12563
Fixes https://github.com/godotengine/godot/issues/33885

Superseding Miguel's PR to get it in during the beta stage.
2025-06-25 15:29:33 +02:00
Hugo Locurcio 5c638b2d89 Document Gradient.sample() clamping behavior 2025-06-25 15:21:00 +02:00
BlueCube3310 bac5e097d4 DDS: Fix loading cubemaps 2025-06-25 14:11:26 +02:00
Geoffroy Warin 88c086d082 Sync controller mappings DB with SDL community repo
Synced with: mdqinc/SDL_GameControllerDB@1849728
2025-06-25 12:42:43 +02:00
Rémi Verschelde 30456ba095 Merge pull request #107948 from adamscott/reintroduce-sample-position-worklet-pooling
[Web] Fix Webkit leak caused by the position reporting audio worklets
2025-06-25 11:47:11 +02:00
Rémi Verschelde 32984bea48 Merge pull request #107940 from aaronfranke/doc-option-button
Fix OptionButton ID value range documentation
2025-06-25 11:47:08 +02:00
Rémi Verschelde 3407194396 Merge pull request #107623 from patwork/add-migration-guide-button
Add "See Migration Guide" button to the Project Manager
2025-06-25 11:47:04 +02:00
Rémi Verschelde 8cd5659c7c Merge pull request #107530 from ryevdokimov/freelook-redirect-viewport
Fix freelook in 3D when multiple viewports are open
2025-06-25 11:47:00 +02:00
Rémi Verschelde b720cbc164 Merge pull request #107963 from bruvzg/sdl_nx_fix
Fix SDL threading on macOS/Linux.
2025-06-25 11:46:53 +02:00
Aaron Franke 358d2ce4cc Fix OptionButton ID value range documentation
Co-authored-by: Micky <micheledevita2@gmail.com>
2025-06-25 02:02:24 -07:00
Pāvels Nadtočajevs 71dd7b5712 Fix SDL threading on macOS/Linux.
And fixup pkg-config check for SDL on Linux.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-06-25 10:36:39 +02:00
patwork b4627b7a0a Added "See Migration Guide" button to the Project Manager 2025-06-25 08:16:47 +02:00
Thaddeus Crews 05640191e7 Merge pull request #107928 from Kaleb-Reid/scatter-no-LIGHTX
Always send lights to sky shader if using sun scatter
2025-06-24 18:34:31 -05:00
Thaddeus Crews 5c7c5270a9 Merge pull request #107509 from MJacred/patch-1
Add warning about infinite recursion to NavigationAgent docs
2025-06-24 18:34:30 -05:00
Thaddeus Crews eb430bc22d Merge pull request #107956 from Chubercik/ufbx-0.20.0
ufbx: Update to 0.20.0
2025-06-24 18:34:29 -05:00
Thaddeus Crews ab134b386a Merge pull request #106218 from Nintorch/master
Add support for SDL3 joystick input driver for Windows, Linux and macOS
2025-06-24 18:34:28 -05:00
Thaddeus Crews db28859774 Merge pull request #107591 from timothyqiu/group-enable-default
Make `PROPERTY_HINT_GROUP_ENABLE` hide properties by default
2025-06-24 18:34:28 -05:00
Thaddeus Crews 5b01921c07 Merge pull request #107944 from KoBeWi/PNAMING_everything
Mark GDScript and shader warnings for translation
2025-06-24 18:34:27 -05:00
Thaddeus Crews 8d06a74016 Merge pull request #107943 from KoBeWi/scene_UID,_the_UID's_younger_sibling
Generate scene ID for created built-in Resources
2025-06-24 18:34:26 -05:00
Thaddeus Crews 01410f19f8 Merge pull request #107876 from clayjohn/vs-data-issues
Fix a few improper memory accesses in the clustered forward vertex shader
2025-06-24 18:34:25 -05:00
Thaddeus Crews bd548fa79d Merge pull request #107939 from TCROC/fix-missing-popcnt-feature-llvm
Fix compiler error: pass `-mpopcnt` when using clang / llvm and targeting x86_64
2025-06-24 18:34:24 -05:00
Thaddeus Crews 39b77ea780 Merge pull request #107776 from retrotails/voxelgi_srgb
Fix baked VoxelGI using the wrong color space
2025-06-24 18:34:24 -05:00
Nintorch 0b3496fb4f Add support for SDL3 joystick input driver
Made possible by EIREXE, xsellier and the SDL team.

This commit includes statically linked SDL3 for Windows, Linux and macOS.
The vendored copy of SDL3 was setup to only build the required subsystems
for gamepad/joystick support, with some patches to be able to make it as
minimal as possible and reduce the impact on binary size and code size.

Co-authored-by: Álex Román Núñez <eirexe123@gmail.com>
Co-authored-by: Xavier Sellier <xsellier@gmail.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-06-25 01:28:50 +02:00