1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-31 18:41:20 +00:00
Commit Graph

12622 Commits

Author SHA1 Message Date
dementive
56fa8caef4 Optimize scene tree groups 2025-07-11 10:57:04 -05:00
Thaddeus Crews
c977b597b8 Merge pull request #107872 from Thought-Weaver/users/loganapple/editor-caret-fix
[Autocomplete] Avoid prepending literals when the character has already been typed
2025-07-10 11:39:30 -05:00
Thaddeus Crews
9fc9faef0a Merge pull request #101416 from MrBlockers/91342-nested-spawner
Fix node cache errors on nested MultiplayerSpawners
2025-07-10 11:39:23 -05:00
Thaddeus Crews
cbc6d78aed Merge pull request #94996 from HolonProduction/salvage-71842
GDScript: Fix autocompletion issues with nested types
2025-07-10 11:39:19 -05:00
Thaddeus Crews
d7cc121e64 Merge pull request #108347 from Rudolph-B/Issue-106184
Fix underculling of occulusion culling
2025-07-09 11:33:21 -05:00
Thaddeus Crews
afd16dd4f3 Merge pull request #99798 from preslavnpetrov/master
[C#] Fix thread deadlock when using a worker thread to load a script with a generic base class
2025-07-09 11:33:20 -05:00
HolonProduction
d4abc211f1 GDScript: Fix autocompletion issues with nested types 2025-07-08 14:48:21 +02:00
Rudolph Bester
a54df7fdb7 Move occlusion culling back to being based on euclidian distance but with some distance calculation using double precision 2025-07-08 13:38:36 +02:00
Logan Apple
216c462277 Initial fix for double caret inserting in NodePath
Additional cases where prepending doubles up

Moved code to helper function

Added unit tests

Lookup caret character instead of passing position

Switched to using the parsed type

Adding safety checks and various cleanup
2025-07-07 09:23:32 -07:00
Thaddeus Crews
aa035bc1e8 Merge pull request #108284 from dmlary/nav2d_obstacle-avoidance-enabled-fix
NavMap2D: check if obstacles have avoidance enabled
2025-07-07 10:08:03 -05:00
Thaddeus Crews
9d917f4b14 Merge pull request #108281 from dmlary/nav_obstacle-avoidance-enabled-fix
NavMap3D: check if obstacles have avoidance enabled
2025-07-07 10:08:00 -05:00
Thaddeus Crews
320484a8fb Merge pull request #108262 from aaronfranke/csharp-crash-bad-enum
Fix crash in C# bindings generator with bad enum documentation XML
2025-07-07 10:07:56 -05:00
smix8
c2f8e70aa0 Revert "Create more optimized CSGShape3D baked static mesh"
This reverts commit 28875459d9.
2025-07-04 20:43:28 +02:00
A Thousand Ships
f11aff3841 Editor: Restructure editor code
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00
David M. Lary
780f3d5e3b NavMap2D: check if obstacles have avoidance enabled
In NavMap2D::_update_rvo_obstacles_tree() check if the NavObstacle2D
has avoidance enabled before adding it to the tree.

This is the 2D fix for #108259
2025-07-04 10:30:49 -05:00
David M. Lary
09c9bccb85 NavMap3D: check if obstacles have avoidance enabled
In `NavMap3D::_update_rvo_obstacles_tree_2d()` check if the
`NavObstacle3D` has avoidance enabled before adding it to the
tree.

fixes #108259
2025-07-04 10:16:40 -05:00
Thaddeus Crews
8f816614f6 Merge pull request #108239 from mihe/jolt/scene-switch-crash
Fix crash in Jolt Physics when switching scenes in editor
2025-07-04 10:09:05 -05:00
Aaron Franke
ab90808fee Fix crash in C# bindings generator with bad enum documentation XML 2025-07-03 20:48:09 -07:00
Thaddeus Crews
9b22b41531 Merge pull request #105087 from HolonProduction/lsp-annotations
LSP: Extract annotations from `EditorHelp`
2025-07-03 12:21:28 -05:00
Thaddeus Crews
b7dcb1f728 Merge pull request #108094 from simpkins/jolt_soft_body_transform
Jolt physics: wake up a soft body when its transform changes
2025-07-03 12:21:27 -05:00
Thaddeus Crews
fc20bb6b03 Merge pull request #100187 from atlasapplications/dotnet-export-icu
Update Dotnet iOS Export Process
2025-07-03 12:21:26 -05:00
Thaddeus Crews
89809f2b72 Merge pull request #108140 from HolonProduction/lsp-init-delay
LSP: Don't poll during editor setup
2025-07-03 12:21:20 -05:00
Thaddeus Crews
0dc626b1f3 Merge pull request #108235 from mihe/jolt/shapeless-perf
Improve performance for shapeless objects when using Jolt Physics
2025-07-03 12:21:20 -05:00
Thaddeus Crews
77b680244d Merge pull request #102186 from HolonProduction/completion-builtin-enum
Improve GDScript editor support for global enums
2025-07-03 12:21:19 -05:00
Mikael Hermansson
e2985a2e1f Fix crash in Jolt Physics when switching scenes in editor
Co-authored-by: Jorrit Rouwe <jrouwe@gmail.com>
2025-07-03 16:45:53 +02:00
Mikael Hermansson
63021bb4aa Improve performance for shapeless objects when using Jolt Physics 2025-07-03 14:14:00 +02:00
Preslav.Laptop
85d2a23a62 Move the script reload function to outside the
lock to prevent worker threads from the
ResourceLoader::load method from causing a
deadlock
2025-07-02 19:11:20 +02:00
Thaddeus Crews
f8b2f1bc82 Merge pull request #101006 from zaevi/fix_csharp_refcounted_dispose
C#: Fix `RefCounted` not disposed correctly in certain case
2025-07-01 17:58:00 -05:00
Thaddeus Crews
bad29ef0c7 Merge pull request #107636 from HolonProduction/completion-dont-use-next
Autocompletion: Don't use `next` for `GET_NODE` inference
2025-07-01 17:57:59 -05:00
Thaddeus Crews
ee5859b7ae Merge pull request #92584 from HolonProduction/autocompletion-assign-variant
Autocompletion: Fix type resolution when assigning variant
2025-07-01 17:57:51 -05:00
Thaddeus Crews
75751c0066 Merge pull request #106790 from limbonaut/linked-call-stack
GDScript call stack as reverse linked list with fixed coroutines
2025-07-01 17:57:51 -05:00
Thaddeus Crews
2cf48a97b9 Merge pull request #101536 from xsellier/gdscript_crash_modulo
Fix crash when using a modulo operator between a float and an integer
2025-07-01 17:57:48 -05:00
Justin Sasso
aa0ed1b469 Update Dotnet iOS Export Process
Update iOS export to allow for hybrid globalization introduced in .NET 9 while preserving .NET 8 settings. Also allows for custom ICU or no ICU.
2025-07-01 14:02:28 -04:00
HolonProduction
4d7c5f9172 LSP: Don't poll during editor setup 2025-06-30 13:53:07 +02:00
Serhii Snitsaruk
a095c5e3fa GDScript call stack as reverse linked list with fixed coroutines
* GDScript call stack as reverse linked list with issues fixed
(originally proposed in 91006).
* Fix coroutine issues with call stack by resuming async call chain
inside `GDScriptFunction::call()`.
* This fixes corrupted line numbers for coroutines in the debugger and
backtrace (106489).

Co-authored-by: Juan Linietsky <reduzio@gmail.com>
2025-06-30 11:37:42 +02:00
Adam Simpkins
71e3a229f6 Jolt physics: wake up a soft body when its transform changes
This updates `JoltSoftBody3D::set_transform()` to wake up the
soft body after changing the transform.

Previously, if you had a soft body that was sleeping in a steady state
on a ground plane, and you then translated it upwards by 1 meter it
would just hang in the air.  Now it falls to the ground correctly.

Issue #108090 has some details and an MRP (although that issue is mostly
about other problems in SoftBody3D iteself).
2025-06-28 16:34:51 -07:00
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