Commit Graph

12578 Commits

Author SHA1 Message Date
Rémi Verschelde e1b4101e34 Merge pull request #108072 from dalexeev/gds-fix-make-function
GDScript: Fix `GDScriptLanguage::make_function()`
2025-06-28 13:03:35 +02:00
Rémi Verschelde eaa5b1f471 Merge pull request #108060 from KoBeWi/project_manager_without_a_hint
Fix EditorSettings usage in TLSContext
2025-06-28 13:03:31 +02:00
Rémi Verschelde 25525bcfa5 Merge pull request #108053 from raulsntos/dotnet/check-msbuild-panel-for-details
[.NET] Mention MSBuild panel when building fails
2025-06-28 13:03:27 +02:00
Rémi Verschelde 5aefc2eca8 Merge pull request #108041 from bs-mwoerner/cs_get_extension
C#: Fix return value of `StringExtensions.GetExtension()`
2025-06-28 13:03:24 +02:00
Rémi Verschelde 8431f6bc27 Merge pull request #108027 from Chubercik/meshoptimizer-0.24
meshoptimizer: Update to 0.24
2025-06-28 13:03:20 +02:00
Rémi Verschelde f97c51132e Merge pull request #107832 from simpkins/soft_body_normals
Fix Jolt Physics soft body vertex normal calculation
2025-06-28 13:03:01 +02:00
Danil Alexeev c8bb21e68b GDScript: Fix GDScriptLanguage::make_function() 2025-06-28 13:39:59 +03:00
Adam Simpkins dd80a3aa19 Fix jolt_physics soft body vertex normal calculation
The code previously iterated through each face and set all vertices to
that face's normal.  This resulted in each vertex getting the normal
from just one face that it belonged to (whichever face was last in this
array).  This caused weird shading artifacts.

This fixes the code so that the vertex normal is now the average normal
of all faces that it belongs to.  This results in "smooth shading"
behavior for soft body meshes.  This is still somewhat undesirable if
the input mesh was using flat shading, but it looks less bad than the
previous behavior of picking a normal at random from one attached face.

This matches the behavior of GodotPhysicsServer3D.

Fixes #107831.
2025-06-27 17:04:15 -07:00
kobewi 49cd330704 Fix EditorSettings usage in TLSContext 2025-06-28 01:06:32 +02:00
Raul Santos c67f95d80e [.NET] Mention MSBuild panel when building fails 2025-06-27 20:30:12 +02:00
Rémi Verschelde ebc36a7225 Merge pull request #107717 from aaronfranke/abstract-annotation
GDScript: Replace `abstract` keyword with `@abstract` annotation
2025-06-27 17:12:56 +02:00
Thaddeus Crews 4a90220fc9 Merge pull request #107852 from HolonProduction/completion-filter-current-impl
Autocompletion: Don't filter overrides when the existing function is the current one
2025-06-27 09:39:52 -05:00
Thaddeus Crews c9f6e21384 Merge pull request #108042 from mihe/jolt/soft-body-disable-crash
Fix crash when disabling `SoftBody3D` while using Jolt Physics
2025-06-27 09:39:50 -05:00
Thaddeus Crews dc41b31392 Merge pull request #107618 from DanielGSilva/quat-arc
Fix `Quaternion(arc_from: Vector3, arc_to: Vector3)` behaves differently in gdscript and c#
2025-06-27 09:39:47 -05:00
Mikael Hermansson 50e24e24ed Fix crash when disabling SoftBody3D while using Jolt Physics 2025-06-27 12:52:47 +02:00
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
Jakub Marcowski 893f5b37f4 meshoptimizer: Update to 0.24 2025-06-27 01:02:34 +02:00
danielgsilva ed1e8a1460 Fix mismatch of constructors 2025-06-26 10:35:47 +01: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
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
BlueCube3310 bac5e097d4 DDS: Fix loading cubemaps 2025-06-25 14:11:26 +02:00
kobewi 015cc38912 Mark GDScript and shader warnings for translation 2025-06-24 23:11:56 +02:00
Thaddeus Crews 987832be46 Merge pull request #107895 from AThousandShips/fix_doc_spelling
[Docs] Various grammar and spelling fixes
2025-06-24 09:58:50 -05:00
Thaddeus Crews 6277e9d02b Merge pull request #93429 from dalexeev/fix-method-signature-appearance
GDScript: Fix call hint appearance for complex callees
2025-06-24 09:58:49 -05:00
Thaddeus Crews 7ea1b3aabb Merge pull request #105801 from dalexeev/gds-update-stack-funcs
GDScript: Update `get_stack()`, `print_stack()`, and `print_debug()`
2025-06-24 09:58:47 -05:00
Thaddeus Crews d97d8c16e7 Merge pull request #107663 from mihe/script-break-error
Fix errors not being emitted when debugger breaks on script errors
2025-06-24 09:58:38 -05:00
Thaddeus Crews 5cf0092837 Merge pull request #107790 from DeeJayLSP/tight-audio-data
Use TightLocalVector for AudioStreamWAV/MP3
2025-06-24 09:58:37 -05:00
Thaddeus Crews faa009c116 Merge pull request #107656 from bruvzg/tlbl_clean
Cleanup accessibility names.
2025-06-24 09:58:35 -05:00
Thaddeus Crews db54df0d68 Merge pull request #107909 from dalexeev/gds-edit-fix-double-spaces
GDScript: Fix double spaces for type hints when connecting signal
2025-06-24 09:58:34 -05:00
Thaddeus Crews 26678d065f Merge pull request #106243 from juanjp600/dotnet-script-initialization-order-collections-bug
Fix 'Script class can only be set together with base class name' error with .NET typed collections upon rebuild
2025-06-24 09:58:33 -05:00
Aaron Franke 1085200f51 GDScript: Replace abstract keyword with @abstract annotation
Co-authored-by: Danil Alexeev <dalexeev12@yandex.ru>
2025-06-23 12:24:45 -07:00
A Thousand Ships 2db7ecd410 [Docs] Various grammar and spelling fixes 2025-06-23 20:54:08 +02:00
Danil Alexeev a59587c308 GDScript: Fix double spaces for type hints when connecting signal 2025-06-23 21:46:03 +03:00
Danil Alexeev fbede89573 GDScript: Fix call hint appearance for complex callees 2025-06-23 19:28:48 +03:00
Pāvels Nadtočajevs a272376f89 Cleanup accessibility names. 2025-06-23 11:08:36 +03:00
HolonProduction 991c1a85a9 Autocompletion: Don't filter overrides when the existing function is the current one 2025-06-22 16:25:36 +02:00
Rémi Verschelde a5ccacd32c Merge pull request #107820 from Meowcat285/master
Fix buffer size calculations in lightmapper_rd.cpp to account for element sizes
2025-06-22 11:59:32 +02:00
Meowcat285 b16b3ea383 Fix buffer size calculations in lightmapper_rd.cpp to account for element sizes 2025-06-21 21:20:56 -04:00
notgoyome e37efa8722 Fix: make nav_map_2d uses rasterizer cell scale options in 2d navigation settings 2025-06-21 16:51:17 +02:00
elenakrittik 2253c0f470 Add a note about Object._init and required parameters in relation to @rpc 2025-06-21 11:05:24 +02:00
DeeJayLSP 168ac139cf Use TightLocalVector for AudioStreamWAV/MP3 2025-06-21 00:25:31 -03:00
Thaddeus Crews 48f361a6eb Merge pull request #107710 from dsnopek/openxr-interface-rename-session-state
Rename `OpenXRInterface.OpenXrSessionState` to `OpenXRInterface.SessionState`
2025-06-20 08:38:58 -05:00
Thaddeus Crews c7d2ea4f68 Merge pull request #107388 from BastiaanOlij/openxr_render_models_ext
OpenXR: Add support for render models extension
2025-06-20 08:38:57 -05:00
David Snopek 00f30b4f16 Rename OpenXRInterface.OpenXrSessionState to OpenXRInterface.SessionState 2025-06-19 10:23:46 -05:00
Pāvels Nadtočajevs 22e99a4901 Restore per font oversampling override. 2025-06-19 18:10:54 +03:00
Bastiaan Olij b65b367a6f OpenXR: Adding support for the render model extension 2025-06-19 19:14:49 +10:00
Thaddeus Crews 88064d8b12 Merge pull request #107635 from akien-mga/scons-xatlas-lightmapper-mobile-editors
SCons: Enable `lightmapper` and `xatlas_unwrap` modules on Android and iOS editors
2025-06-18 18:14:08 -05:00
Thaddeus Crews c825fcf43f Merge pull request #107624 from timothyqiu/top-bottom-atr
Improve auto-translation of editor's top & bottom bars
2025-06-18 18:14:06 -05:00
Thaddeus Crews c1a746a62c Merge pull request #107619 from BastiaanOlij/openxr_fix_xrSyncAction_timing
OpenXR: Only run xrSyncActions when application has focus
2025-06-18 18:14:01 -05:00
Thaddeus Crews ac6252c9c8 Merge pull request #107486 from Ivorforce/rendering-no-alloc-api
Use raw buffer pointers in `RenderingDevice` allocation APIs to avoid intermediary arrays
2025-06-18 18:14:00 -05:00