Mikael Hermansson
a285ab6bcf
Fix crash when calling `move_and_collide` with a null `jolt_body`
2025-09-27 13:30:04 +02:00
Bastiaan Olij
eeac57075c
OpenXR: Implement spatial entities extension
2025-09-27 12:23:33 +10:00
Aaron Franke
754d49ac81
Skip copying values constructed immediately before returning
2025-09-26 19:13:58 -07:00
Mikael Hermansson
0590c974c1
Fix CCD bodies adding multiple contact manifolds when using Jolt
2025-09-26 01:17:11 +02:00
Lukas Tenbrink
1bf821c1e1
Store current capacity in `CowData` buffers, and rewrite most of it.
...
Add `reserve` to `CowData`, `Vector` and `Array`.
# Conflicts:
# core/os/memory.h
# core/templates/cowdata.h
2025-09-25 22:00:17 +02:00
Thaddeus Crews
1f7630f1bf
Merge pull request #110841 from smix8/raster_casual
...
Make navmesh rasterization errors more lenient
2025-09-25 14:57:11 -05:00
Thaddeus Crews
e49e73e160
Merge pull request #110868 from brycehutchings/openxr_late_destruction_crash_fix
...
Fix late destruction access violation with OpenXRAPIExtension object
2025-09-25 14:57:11 -05:00
smix8
19df15f1dc
Make navmesh rasterization errors more lenient
...
Make navmesh rasterization on the navigation regions and map more lenient by starting out with a lower internal cell scale by default and changing the merge error to just warning that can be toggled.
2025-09-25 20:18:18 +02:00
Thaddeus Crews
c32c2606f4
Merge pull request #110837 from wheatear-dev/add-gdsoftclass-deeper
...
Add `GDSOFTCLASS` to deeper inheritors of `Object`
2025-09-25 12:13:56 -05:00
Thaddeus Crews
5aa220efee
Merge pull request #110865 from brycehutchings/openxr_d3d12_near_far_fix
...
Fix OpenXR with D3D12 using the wrong clip space projection matrix
2025-09-25 12:13:55 -05:00
Thaddeus Crews
6af2341894
Merge pull request #108743 from Nodragem/fix-jump-when-cutting
...
Fix jump when cutting a selection in Gridmap
2025-09-25 12:13:54 -05:00
Bryce Hutchings
cd198f7517
Remove static lifetime object to avoid late destruction
2025-09-25 10:11:08 -07:00
A Thousand Ships
bd65cfa876
Revert "Replace many uses of `is_class` with `derives_from`."
...
This reverts commit 78b743cf4a .
2025-09-25 13:48:53 +02:00
Aaron Franke
da9a77ce42
GLTF: Preserve mesh name on export
2025-09-24 20:28:52 -07:00
Aaron Franke
9993438a9e
Use explicit public access modifier in C# code
2025-09-24 14:32:38 -07:00
Edward Moulsdale
e366471fdc
Add GDSOFTCLASS to deeper inheritors of Object
2025-09-24 19:15:56 +01:00
Aaron Franke
a238af4d20
Use num_scientific (Grisu2) when stringifying JSON with full precision
2025-09-24 08:21:37 -07:00
Thaddeus Crews
78b743cf4a
Merge pull request #110832 from Ivorforce/is-class-to-derives-from
...
Replace many uses of `is_class` with `derives_from`.
2025-09-24 09:59:09 -05:00
Bryce Hutchings
58ecb8ade5
Fix D3D12 using the wrong clip space projection matrix. Remove error-prone/unnecessary graphicsApi parameter.
2025-09-23 16:58:39 -07:00
DeeJayLSP
8a7a0faa75
Add `reserve()` to `Dictionary`, apply to constructors on GDScript VM
2025-09-23 16:57:52 -03:00
Thaddeus Crews
b7c5fcaf1e
Merge pull request #110815 from AThousandShips/fix_nav_2d
...
[Navigation 2D] Fix sign of cross product
2025-09-23 14:51:54 -05:00
Lukas Tenbrink
8ef4a43ada
Replace many uses of `is_class` with `derives_from`.
2025-09-23 19:59:00 +02:00
Thaddeus Crews
aa2c4fe654
Merge pull request #110717 from Shadows-of-Fire/elide-copy-typed-collection
...
GDScript: Elide unnecessary copies in `CONSTRUCT_TYPED_*` opcodes
2025-09-23 12:08:53 -05:00
Thaddeus Crews
6010f0f2b0
Merge pull request #110777 from BastiaanOlij/openxr_1_1_52
...
OpenXR: Update to OpenXR 1.1.52
2025-09-23 12:08:52 -05:00
Thaddeus Crews
cd3a6c88fd
Merge pull request #106200 from BlueCube3310/image-16-u16
...
Image: Implement 16-bit unorm and uint formats
2025-09-23 12:08:46 -05:00
AR-DEV-1
1036bfd7ad
Update .NET version to 8.0 & lang version to 12
2025-09-23 21:04:05 +05:00
A Thousand Ships
f8d72ba783
[Navigation 2D] Fix sign of cross product
...
Regression from splitting the servers. Also replaces the method for
getting the triangle area.
2025-09-23 14:55:17 +02:00
Thaddeus Crews
491ecff31e
Merge pull request #99195 from shitake2333/csharp_translation_parser_support
...
Add c# translation parser support
2025-09-22 21:01:01 -05:00
Thaddeus Crews
6dddb6e6d6
Merge pull request #110194 from bruvzg/emoji_run
...
[TextServer] Shape emojis as separate runs.
2025-09-22 21:00:58 -05:00
Michael Alexsander
f16ff829f0
Allow to use sliders for integers in `EditorSpinSlider`
2025-09-22 11:23:15 -03:00
Thaddeus Crews
ba0da90ba6
Merge pull request #108254 from KoBeWi/ENABLE_HINT_GROUP_PROPERTY_HINT
...
Add more `PROPERTY_HINT_GROUP_ENABLE` uses
2025-09-22 08:50:12 -05:00
Thaddeus Crews
d8b057d06d
Merge pull request #108974 from Joy-less/Improve-`IsNormalized()`
...
Improve `IsNormalized()` in C#
2025-09-22 08:50:06 -05:00
Thaddeus Crews
9b7a723aac
Merge pull request #107721 from YYF233333/ps_include
...
Remove dependency of `variant.h` in `print_string.h`
2025-09-22 08:50:04 -05:00
Thaddeus Crews
94dbc42a56
Merge pull request #62083 from KoBeWi/string_slice'n_dice
...
Improve usage of `String.split()` vs `get_slice()`
2025-09-22 08:50:01 -05:00
Thaddeus Crews
0e2b54e1da
Merge pull request #109216 from Ryan-000/improve_rpc_error_messages
...
Improve RPC Error messages
2025-09-22 08:49:58 -05:00
Bastiaan Olij
d9c0183bd7
OpenXR: Update to OpenXR 1.1.52
2025-09-22 21:25:45 +10:00
Artemy Fedotov
a3e0f8dee2
Allow trailing comma in `preload`
2025-09-22 14:15:12 +04:00
kobewi
98a4b46b6a
Add more PROPERTY_HINT_GROUP_ENABLE uses
2025-09-20 21:11:12 +02:00
Thaddeus Crews
7738626d25
Merge pull request #107800 from Joy-less/add-ROS-overload-for-Callable.Call
...
Add `ReadOnlySpan<Variant>` overload for `Callable.Call`
2025-09-20 13:41:36 -05:00
Thaddeus Crews
00574d4ba5
Merge pull request #81701 from Repiteo/c#-attribute-interface-doc
...
C#: Add documentation for Interfaces and Attributes
2025-09-20 13:41:32 -05:00
Shadows_of_Fire
b18beb2cc2
Elide unnecessary copies in `CONSTRUCT_TYPED_*` opcodes
2025-09-20 00:00:18 -07:00
Thaddeus Crews
e15210b466
Merge pull request #98268 from Calinou/import-export-bake-fps-add-range-hint
...
Add a property range hint to `bake_fps` in the scene glTF export dialog
2025-09-19 20:54:32 -05:00
Thaddeus Crews
1e5b4a1aae
Merge pull request #109944 from DanielKinsman/headless-blender-import-hang
...
Fix hang when importing blender files in headless mode
2025-09-19 20:54:29 -05:00
Thaddeus Crews
34609db10b
Merge pull request #109969 from dsnopek/openxr-validation-errors
...
OpenXR: Fix errors reported by `XrApiLayer_core_validation`
2025-09-19 20:54:28 -05:00
Thaddeus Crews
597c5d413f
Merge pull request #109611 from devloglogan/hand-tracking-microgestures
...
Add XR_META_hand_tracking_microgestures action paths
2025-09-19 20:54:25 -05:00
Thaddeus Crews
8265bb8b6a
Merge pull request #110097 from aaronp64/array_tests
...
Add more `Array` tests
2025-09-19 13:07:13 -05:00
Thaddeus Crews
2a7e01e4fc
Merge pull request #80427 from MewPurPur/rework-noise-texture-icons
...
Rework icons of noise-related classes
2025-09-19 13:07:07 -05:00
Thaddeus Crews
9a76f55518
[C#] Add documentation for Interfaces/Attributes
2025-09-19 11:57:42 -05:00
kobewi
d61a337a70
Improve usage of String.split() vs get_slice()
2025-09-19 16:31:55 +02:00
Yufeng Ying
05dae23f18
Remove dependency of variant.h in print_string.h
...
Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2025-09-19 14:57:36 +08:00
molingyu
da8f647fa1
feat: Add c# translation parser support
...
Use semantic model to analyze the method to be selected
Support translation comment
Make C# multi-line comments also ignore translation
Add preprocessor symbols support
2025-09-19 13:46:01 +08:00
Thaddeus Crews
be11bf1d6b
Merge pull request #110540 from akien-mga/linux-system-libturbojpeg
...
Linux: Allow unbundling libjpeg-turbo to use system package
2025-09-18 21:02:31 -05:00
Rémi Verschelde
b9cdc74b2b
Vorbis: Add details to warning about invalid comment header
2025-09-18 12:19:25 +02:00
Thaddeus Crews
8b4b93a82e
Merge pull request #105950 from Joy-less/Fix-array-span-constructors
...
Fix array span constructors in C#
2025-09-17 11:34:19 -05:00
Thaddeus Crews
38d80598f5
Merge pull request #108121 from Repiteo/core/disabled-class-rework
...
Core: Handle disabled class detection in `ClassDB`
2025-09-17 11:34:16 -05:00
Thaddeus Crews
d51c13fdd4
Merge pull request #110397 from mooflu/syntaxhi-110390
...
Don't reset color if the previous token is a number ending with a dot.
2025-09-16 20:29:00 -05:00
Thaddeus Crews
00699ec29e
Merge pull request #110329 from beicause/jolt-orphan-string-name
...
JoltPhysics: Fix orphan StringName
2025-09-16 20:28:57 -05:00
Lukas Tenbrink
abe3b481ae
Make conversions from `LocalVector` to `Vector` explicit.
2025-09-16 21:41:28 +02:00
Thaddeus Crews
f73d3db412
Merge pull request #108527 from raulsntos/dotnet/enum-variant-conversion
...
[.NET] Fix enum from/to Variant conversion
2025-09-16 11:44:50 -05:00
Thaddeus Crews
4dec6af2c8
Merge pull request #108613 from Repiteo/scons/fix-defines
...
SCons: Ensure `CPPDEFINES` is properly utilized
2025-09-16 11:44:45 -05:00
Yufeng Ying
a50fc5acd8
Change ClassDB::get_class_list and related stuff.
2025-09-16 15:00:33 +08:00
Rémi Verschelde
6d8aa8582f
Linux: Allow unbundling libjpeg-turbo to use system package
2025-09-15 23:52:48 +02:00
Thaddeus Crews
c2141e0aa5
Bump version to 4.6-dev
2025-09-15 15:50:22 -05:00
Lukas Tenbrink
4c0026b053
Update links to the contributing section of the docs to the appropriate new sections.
2025-09-12 01:04:14 +02:00
Frank Becker
aa8acd1a04
Don't reset color if the previous token is a number ending with a dot.
2025-09-11 11:40:15 -07:00
Hugo Locurcio
f6895c4150
Fix MDN link for XRReferenceSpaceType in WebXRInterface class documentation
2025-09-10 01:13:09 +02:00
Luo Zhihao
793228f171
JoltPhysics: Fix orphan StringName
2025-09-08 22:18:46 +08:00
Raul Santos
f0c9253bec
[.NET] Require `net9.0` for Android exports
...
To ensure Android exports are compatible with the new Play Store
requirement that all `.so` libraries included are aligned to 16k,
we now require C# projects to target `net9.0` which uses the
correct alignment (as opposed to the current one of 4k).
The thirdparty jar library has also been updated to the one from
the 9.0.4 runtime package so it's compatible with non-gradle
builds targeting `net9.0`.
Non-android projects are not affect, the minimum TFM is still
`net8.0`.
2025-09-05 04:14:27 +02:00
westenral
565e1aaeb9
Add checks for integer vectors for integer division warning
...
Remove warnings for invalid Vectori combinations
Co-authored-by: kleonc <9283098+kleonc@users.noreply.github.com>
2025-09-04 10:13:05 -04:00
Pāvels Nadtočajevs
ddde1c07a6
[TextServer] Shape emojis as separate runs.
2025-09-02 13:03:50 +03:00
aaronp64
2b855d831d
Add more Array tests
...
Added more tests for Array, focusing on methods exposed to gdscript that didn't have tests.
2025-08-30 13:12:16 -04:00
Volker Schlecht
54eb2799da
Fix build on OpenBSD
...
Like FreeBSD, OpenBSD cannot build the camera module because it uses interfaces only provided by Linux
2025-08-30 15:02:01 +02:00
jitspoe
9a4ec179e4
Default mjpeg avi movie writer to 16 bit audio and add an editor option so it can still write 32 bit.
2025-08-29 03:18:03 -04:00
Thaddeus Crews
e0f17b408b
Merge pull request #109685 from nikitalita/fix-gltf-infinite-loop
...
Fix infinite loop in GLTFDocument::_convert_animation_node_track
2025-08-26 19:01:12 -05:00
Thaddeus Crews
555e7ad073
Core: Handle disabled class detection in ClassDB
2025-08-26 09:31:14 -05:00
David Snopek
f9c76d026d
OpenXR: Fix errors reported by XrApiLayer_core_validation
2025-08-25 15:54:54 -05:00
Daniel Kinsman
a001026dbb
Update modules/gltf/editor/editor_scene_importer_blend.cpp
...
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2025-08-25 22:00:13 +10:00
Daniel Kinsman
0cace15d72
better error message
2025-08-25 21:23:44 +10:00
Daniel Kinsman
c75a33aa5d
Fix hang when importing blender files in headless mode
2025-08-25 11:30:56 +10:00
Thaddeus Crews
6281245e86
Merge pull request #109929 from jrouwe/issue_109883
...
Fixed crash when rendering a soft body 3d
2025-08-24 14:23:05 -05:00
Thaddeus Crews
37a48c89f9
Merge pull request #106744 from L2750558108/fix-@-error-in-c#
...
Fix source generator exceptions appearing when use "@+internal keyword" as type or namespace name in C# script
2025-08-24 11:04:31 -05:00
Jorrit Rouwe
09fcaa7db4
Fixed crash when rendering a soft body 3d
...
When a mesh is provided that has vertices that are not referenced by any face, these vertices will be discarded. In the internal 'mesh_to_physics' map, this led to uninitialized data which could result in a crash. Now we initialize the map with -1 and report an error when users try to manipulate these vertices.
Fixes #109883
2025-08-24 15:38:11 +02:00
Aaron Franke
11a13154de
GLTF: Fix minor niche edge case issues with accessors
2025-08-23 00:17:58 -07:00
Thaddeus Crews
8e458d19cb
Merge pull request #109152 from bruvzg/font_fb_no_msdf
...
Use non-MSDF fallback for MSDF fonts if fallback is a color or non-scalable font.
2025-08-22 12:35:36 -05:00
David Snopek
13a643d78a
OpenXR: Safely set environment blend mode when rendering on a separate thread
2025-08-22 08:11:04 -05:00
David Snopek
4a24de208f
OpenXR: Prevent adding/removing extension wrappers after session start
2025-08-22 08:04:03 -05:00
Bastiaan Olij
ccceb2ac60
OpenXR: Fix default action map entry for Vive Focus 3
2025-08-22 16:28:25 +10:00
Thaddeus Crews
b432e108d5
Merge pull request #109791 from Talkashie/master
...
Typo cleanup pass
2025-08-21 18:39:37 -05:00
Arti Chhabra
e7214c229b
Fix the issue by resetting the reloading false first and then returning error directly instead of calling Macro
...
Fix the review comment
Fix the clang format
Update as per review comment
2025-08-21 13:13:11 -07:00
Thaddeus Crews
d5ad0556a2
Merge pull request #109630 from aaronfranke/openxr-gltf-doc-ext
...
OpenXR: Use GLTFDocument function to get supported extension names
2025-08-21 06:24:28 -05:00
Thaddeus Crews
fc245d69d2
Merge pull request #109304 from HolonProduction/parse-annoation-early-end-stop
...
GDScript: Don't stop annotation argument parsing at file end
2025-08-20 12:07:16 -05:00
Talkashie
bc7e68dfd1
Typos
2025-08-19 18:32:59 -05:00
Thaddeus Crews
8ebf8ae23c
Merge pull request #109666 from aaronfranke/import-mesh-validate-indices-mult-3
...
ImporterMesh: Validate triangle indices array size is a multiple of 3
2025-08-18 20:36:49 -05:00
Thaddeus Crews
4d107c1f56
Merge pull request #109561 from aaronfranke/gdscript-error-message
...
Improve error messages for lambda functions without a body
2025-08-18 20:36:47 -05:00
Aaron Franke
ba92af7d07
ImporterMesh: Validate triangle indices array size is a multiple of 3
2025-08-18 06:36:21 -07:00
Aaron Franke
b73597292b
Improve error messages for lambda functions without a body
2025-08-18 06:29:20 -07:00
Thaddeus Crews
3797c1e456
Merge pull request #109647 from m4gr3d/fix_composition_layer_provider_setup
...
Fix missing layer provider setup when setting Surface after visibility
2025-08-18 08:29:11 -05:00
nikitalita
32a59bbdf4
Fix infinite loop in GLTFDocument::_convert_animation_node_track
2025-08-17 13:53:35 -07:00
Mauricio Narvaez
ca798bf94d
Add missing layer provider setup when setting Surface after visibility
2025-08-16 07:55:15 -07:00
Aaron Franke
7be711ecb7
OpenXR: Use GLTFDocument function to get supported extension names
2025-08-15 12:58:53 -07:00
Jens Pitkanen
4808c25c2e
Fix light values on blend import when using non-physical light units
2025-08-15 21:30:08 +03:00
Thaddeus Crews
0c51ede243
Merge pull request #109625 from aaronfranke/gltf-texture-sampler-crash
...
GLTF: Fix crash reading texture sampler for non-existent texture
2025-08-15 12:58:48 -05:00
devloglogan
1a864595cf
Add XR_META_hand_tracking_microgestures actions
2025-08-15 10:37:29 -05:00
Aaron Franke
821fecd933
GLTF: Fix crash reading texture sampler for non-existent texture
2025-08-14 19:25:32 -07:00
Mikael Hermansson
6c907c2d37
Fix `move_and_slide` forcing synchronization with physics thread
...
Co-authored-by: Ricardo Buring <ricardo.buring@gmail.com>
2025-08-14 18:58:36 +02:00
kobewi
a33ae0be0e
Add has_extension() method to String
2025-08-12 13:15:16 +02:00
Thaddeus Crews
ca452113d4
Merge pull request #109437 from bruvzg/msdf_no_t
...
Use MSDF instead of MTSDF for font rendering.
2025-08-11 09:55:28 -05:00
Pāvels Nadtočajevs
86e61a311f
Use MSDF instead of MTSDF for font rendering.
...
Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
2025-08-09 10:41:16 +03:00
2750558108
f192430921
Fix source generator exceptions appearing when use "@+internal keyword" as type or namespace name in C# script
2025-08-09 13:25:54 +08:00
KOGA Mitsuhiro
49e3eba008
Consolidate frame_changed signal into CameraFeed
2025-08-09 04:12:27 +09:00
Thaddeus Crews
7f96fc568e
Merge pull request #108165 from shiena/feature/improve-camera-server
...
Add `CameraServer` `feeds_updated` signal, and document async behavior
2025-08-08 12:28:07 -05:00
Pāvels Nadtočajevs
b21e6529e6
[GDScript] Fix `range` helper method using 32-bit ints for arguments.
2025-08-08 20:22:24 +03:00
KOGA Mitsuhiro
2560ddbce0
Add CameraServer camera_feeds_updated signal, and document async behavior
2025-08-08 03:53:41 +09:00
Ryan
0f870fd286
Improve RPC Error messages
...
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2025-08-06 17:14:18 -04:00
Thaddeus Crews
395b0f0a3d
Merge pull request #103635 from BlueCube3310/rgb565-fix
...
Fix Image format RGB565 conversion and rendering
2025-08-06 12:01:17 -05:00
Thaddeus Crews
ce330e61a2
Merge pull request #109297 from HolonProduction/completion-dont-call
...
Autocompletion: Don't call const functions
2025-08-06 12:01:16 -05:00
Thaddeus Crews
8b017296ef
Merge pull request #109289 from BastiaanOlij/openxr_fix_actionmap_tooltip
...
OpenXR: Fix required extension tooltip
2025-08-06 12:01:12 -05:00
HolonProduction
97b1bc6bda
Autocompletion: Don't call const functions
2025-08-05 09:03:10 +02:00
Thaddeus Crews
bb02ab2909
Merge pull request #107436 from timothyqiu/action-button-icon
...
Fix some inspector action buttons not updating icon when theme changes
2025-08-04 12:04:19 -05:00
HolonProduction
0e92dc7b8c
GDScript: Don't stop annotation argument parsing at file end
2025-08-04 17:28:45 +02:00
HolonProduction
8ec31b7b3d
Autocompletion: Remove duplicate code
2025-08-04 12:59:22 +02:00
Haoyu Qiu
5593ac4e3b
Fix some inspector action buttons not updating icon when theme changes
2025-08-04 15:30:36 +08:00
Bastiaan Olij
cb8c0512bd
OpenXR: fixed required extension tooltip
2025-08-04 13:10:36 +10:00
Raul Santos
dd662f9c6a
[.NET] Fix `Quaternion(Vector3, Vector3)` constructor when vectors are the same.
2025-08-03 20:26:20 +02:00
Thaddeus Crews
0d6c1c37e2
Merge pull request #109196 from smix8/pppedgecentered
...
Fix path post-processing edgecentered
2025-08-03 10:51:10 -05:00
BlueCube3310
638c6a5659
Fix Image format RGB565 conversion
2025-08-03 16:28:13 +02:00
Thaddeus Crews
cce10e0b22
Merge pull request #109181 from nikitalita/gltf-dedupe-images
...
Dedupe images during GLTF Export
2025-08-01 11:45:21 -05:00
Thaddeus Crews
975bcaa90a
Merge pull request #109094 from Repiteo/tests/error-output-fix
...
Fix unfiltered error output in tests
2025-08-01 11:45:16 -05:00
smix8
a3f393a3e1
Fix path post-processing edgecentered
...
Fixes path post-processing edgecentered.
2025-08-01 15:06:30 +02:00
nikitalita
7fcc7e19f3
Dedupe images during GLTF Export
2025-07-31 17:35:04 -07:00
Hugo Locurcio
a3179a0b3c
Improve documentation related to GridMap mesh/lightmap baking
2025-07-31 16:30:32 +02:00
Pāvels Nadtočajevs
738dd2fd10
Use non-MSDF fallback for MSDF fonts if fallback is a color or non-scalable font.
2025-07-31 09:40:10 +03:00
Thaddeus Crews
5c3990c173
Merge pull request #106579 from timothyqiu/add-button-text
...
Fix i18n for array property custom add button text
2025-07-30 09:03:47 -05:00
Thaddeus Crews
33c257c081
Merge pull request #95414 from jsjtxietian/inside-tree
...
Fix `!is_inside_tree` in csg node when reloading a scene
2025-07-30 09:03:45 -05:00
Thaddeus Crews
5f6849534a
Merge pull request #108959 from bruvzg/empty_lines
...
Fix font fallback for lines with only non-visual/control characters.
2025-07-30 09:03:43 -05:00
Thaddeus Crews
cfc58710b7
Merge pull request #108697 from clayjohn/pump-task
...
Ensure that threads only process one pump task
2025-07-30 09:03:42 -05:00
Thaddeus Crews
23accd1606
Tests: Fix unfiltered error output
2025-07-29 14:33:54 -05:00
clayjohn
782b9e328c
Ensure that threads only process one pump task.
...
This is necessary because we will always deadlock if a thread takes on multiple pump tasks since pump tasks never return.
This means when using separate threads for certain systems (like physics or rendering), we need to be sure that there are enough threads to have at least one per system (to ensure forward progress).
2025-07-29 07:15:34 -07:00
timmno12
ecfb96239c
Add swapchain create flags support to OpenXR layers
...
- Introduced SwapchainCreateFlags enum to control swapchain creation (NORMAL, STATIC, PROTECTED) in OpenXR composition layers.
- Allows creation of static layers (never change after creation) and protected layers (for DRM-protected content).
- Changed internal logic from enum to bool for simplicity; users now select "protected" or not.
- Added support for protected content in viewport-based layers.
- Refactored naming, documentation, and improved reusability.
- Minor cleanup: removed unused variable and added missing space.
2025-07-28 16:48:33 +02:00
HolonProduction
926cab9027
Autocompletion: Push empty call for lambdas
2025-07-25 20:26:26 +02:00
Joyless
cbc7dac0d5
Improve `IsNormalized()`
2025-07-25 17:53:38 +01:00
Thaddeus Crews
8acc596bcf
Merge pull request #108944 from vnen/gdscript-fix-static-call-fail-when-shadowing
...
Properly detect native class on static call optimization
2025-07-25 11:08:14 -05:00
George Marques
38f8643b00
GDScript: Properly detect native class on static call optimization
2025-07-25 09:17:39 -03:00
Pāvels Nadtočajevs
6c34f48c90
Fix font fallback for lines with only non-visual/control characters.
2025-07-25 08:27:30 +03:00
Thaddeus Crews
598409b727
Merge pull request #108947 from mihe/gdscript-reload-crash
...
Fix crash when GDScript scripts are reloaded during initial import
2025-07-24 20:49:42 -05:00
Thaddeus Crews
a36cb0c847
Merge pull request #108167 from vnen/gdscript-fix-getting-invalid-dict-key-completion
...
GDScript: Don't get invalid dictionary key during completion
2025-07-24 20:49:39 -05:00
Thaddeus Crews
0fd709ad64
Merge pull request #108912 from smix8/fix-clipper_ifdef
...
Fix flipped clipper2 ifdef
2025-07-24 14:23:44 -05:00
George Marques
81c7cae567
GDScript: Don't get invalid dictionary key during completion
...
We try to get the value out of a dictionary in order to establish its
type for completion purposes. However, if the dictionary or the key
is not a constant, we cannot safely get the actual value, so we skip
this and just try to infer from static typing.
Getting the value directly with `Variant::get()` generate errors if the
base is a Dictionary and the key is of an invalid type. So before trying
to get it we use the Dictionary validator to make sure it we can safely
try to get the key.
2025-07-24 15:02:40 -03:00
Mikael Hermansson
809a6cf705
Fix crash when GDScript scripts are reloaded during initial import
2025-07-24 16:41:33 +02:00
Nodragem
0f1e8809f7
fix jump when cutting a selection
2025-07-24 12:21:22 +01:00
Thaddeus Crews
cc4e6dd612
Merge pull request #107460 from adamscott/fix-emscripten-webxr
...
[Web] Fix Emscripten for WebXR and update minimum version
2025-07-23 13:27:01 -05:00
Thaddeus Crews
adeb5635c0
Merge pull request #108769 from bruvzg/shy_fall
...
[TextServer] Fix soft hyphen font fallback.
2025-07-23 13:26:59 -05:00
smix8
3dc876c695
Fix flipped clipper2 ifdef
...
Fix flipped clipper2 ifdef
2025-07-23 19:54:23 +02:00
Haoyu Qiu
3df6492a6e
Fix i18n for array property custom add button text
2025-07-23 09:41:33 +08:00
Adam Scott
793258919b
[Web] Fix Emscripten for WebXR and update minimum version
2025-07-22 14:02:44 -04:00
Thaddeus Crews
fda3edd193
Merge pull request #108806 from twrightsman/fix-icu
...
Fix ICU support data loading
2025-07-22 11:20:03 -05:00
David Snopek
2687b199c1
OpenXR: Work around bug with Meta runtime on 1.0.49
2025-07-22 09:19:35 -05:00
Pāvels Nadtočajevs
ed0efc4791
Fix support data loading with system ICU
2025-07-20 22:33:45 +02:00
Pāvels Nadtočajevs
6d76439620
[TextServer] Fix soft hyphen font fallback.
2025-07-19 10:55:34 +03:00
Thaddeus Crews
8c0900450c
Merge pull request #108495 from simpkins/deadlock_comments
...
Document some deadlocks in the physics server code
2025-07-18 11:05:12 -05:00
Thaddeus Crews
25dcf7d2a0
Merge pull request #108306 from Chaosus/gds_fix_super_completion
...
Fix lookup symbol for `super()`
2025-07-17 10:34:48 -05:00
Thaddeus Crews
129143355f
Merge pull request #108463 from kitbdev/fix-text-theme-issues
...
Fix some Text Editor theme issues and clean up
2025-07-16 11:27:52 -05:00
Thaddeus Crews
f44c4907d3
Merge pull request #108584 from shiena/fix/linux-camera-flag
...
Fix camera removal detection after toggling monitoring on Linux
2025-07-15 16:58:34 -05:00
kit
7e9e3b767c
Fix some Text Editor theme issues and clean up
2025-07-15 13:43:30 -04:00
kobewi
d591bcc09c
Remove unnecessary cpp files
2025-07-15 15:19:23 +02:00
Thaddeus Crews
1d8e738499
Merge pull request #108511 from lyuma/htcx_wrist_ankle
...
Add missing OpenXR paths to /user/vive_tracker_htcx
2025-07-15 08:04:29 -05:00
Thaddeus Crews
e1e2277f5a
Merge pull request #108530 from mihe/physics-debug-perf
...
Fix performance regression when rendering collision shapes
2025-07-15 08:04:25 -05:00
Thaddeus Crews
121c311d61
Merge pull request #108302 from aaronfranke/gltf-buffer-nasty
...
GLTF: Fix nasty bug with incorrect buffer indices on export
2025-07-15 08:04:23 -05:00
Thaddeus Crews
f859d13035
Merge pull request #108332 from WhalesState/templates
...
Fix remaining physics and navigation disabling issues.
2025-07-15 08:04:22 -05:00
Thaddeus Crews
27ba8f7f8c
SCons: Support header-only modules
2025-07-14 15:37:05 -05:00
Thaddeus Crews
61956f2e06
SCons: Ensure `CPPDEFINES` is properly utilized
2025-07-14 13:07:53 -05:00
Thaddeus Crews
7dcc0548c0
Merge pull request #108026 from Fgico/gridmap-avoid-extra-clipboard-mesh-instantiation
...
Gridmap editor: Avoid extra mesh instantiation when setting clipboard data
2025-07-14 10:30:40 -05:00
Thaddeus Crews
ea4cfe0fe2
Merge pull request #108537 from m4gr3d/fix_hand_not_tracking_error_spam
...
Fix error spam when hands are not tracked
2025-07-14 10:30:39 -05:00
Adam Simpkins
cb25b933e7
Document some deadlocks in the physics server code
...
Add some comments documenting locations where
PhysicsServer3D::soft_body_set_mesh() can deadlock.
godotengine/godot-proposals#12670 has a proposal for some alternate
thread-safe soft body APIs. In the meantime it seems worth at least
documenting some of the current pitfalls in the code.
2025-07-13 13:44:48 -07:00
KOGA Mitsuhiro
ef833a9488
Fix camera removal detection after toggling monitoring on Linux
2025-07-14 02:28:54 +09:00
WhalesState
5eee6d22a0
Fix remaining physics and navigation disabling issues.
2025-07-12 17:12:42 +03:00
Mikael Hermansson
5a16e2fc78
Fix contacts not being reported properly when using Jolt Physics
2025-07-12 14:20:38 +02:00
Fredia Huya-Kouadio
26c12b22ca
Fix error spam when hands are not tracked
2025-07-11 15:53:27 -07:00
Mikael Hermansson
8634a8e234
Fix performance regression when rendering collision shapes
2025-07-11 20:52:58 +02:00
Raul Santos
8950744921
[.NET] Fix enum from/to Variant conversion
...
- `typeof(T).IsEnum` and `typeof(T).GetEnumUnderlyingType()` are intrinsified in .NET 8+ so we can simplify the code in VariantUtils a bit.
- Consider whether enum `T` is signed in VariantUtils to preserve it.
2025-07-11 20:14:23 +02:00
dementive
56fa8caef4
Optimize scene tree groups
2025-07-11 10:57:04 -05:00
Lyuma
0620eb126a
xr: Add missing paths to /user/vive_tracker_htcx
...
Add 4 missing paths for wrist and ankle to XR_HTCX_vive_tracker_interaction.
These are already available in OpenXR 1.0, rev. 3 of the extension.
https://registry.khronos.org/OpenXR/specs/1.0/html/xrspec.html#XR_HTCX_vive_tracker_interaction
2025-07-10 23:47:51 -07: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
Raul Santos
1825146ef1
[.NET] Fix various errors in bindings generator
...
- Fix `is_intentionally_ignored` check, the names in the hash map are not fully-qualified.
- Add a special case for `object.ToString`.
- Validate API type before attempting to reference a type member.
2025-07-09 20:20:54 +02: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
Mikael Hermansson
3528e83ff3
Various fixes and style nitpicks
2025-07-09 14:27:48 +02:00
Rémi Verschelde
0adf0898eb
Various style nitpicks
2025-07-08 16:39:24 +02:00
Aleksander Litynski
78f1543e35
Add an ObjectDB Profiling Tool
...
A new tab is added to the debugger that can help profile a game's memory usage.
Specifically, this lets you save a snapshot of all the objects in a running
game's ObjectDB to disk. It then lets you view the snapshot and diff two
snapshots against each other. This is meant to work similarly to Chrome's
heap snapshot tool or Unity's memory profiler.
2025-07-08 16:39:24 +02:00
Chaosus
c232b7c717
Fix lookup symbol for super()
2025-07-08 16:21:39 +03: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
Aaron Franke
ad10c6185d
GLTF: Fix nasty bug with incorrect buffer indices
2025-07-05 00:00:13 -07: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
Raul Santos
7860bc82b2
[.NET] Remove EFS update on reloading assemblies
...
Updating the files at this point is too early, the scripts haven't been updated yet so their type info is empty.
It looks like EFS is updated anyway without doing it explicitly in `LookupScriptsInAssembly`, and it happens after the scripts have updated their info. So this code seems unnecessary.
2025-07-03 21:57:37 +02: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
BlueCube3310
16b9ee6f50
Image: Implement 16-bit unorm and uint formats
2025-06-28 00:30:52 +02:00
Raul Santos
c67f95d80e
[.NET] Mention MSBuild panel when building fails
2025-06-27 20:30:12 +02:00
Mikael Hermansson
a3e58a385f
Add opt-in GDScript warning for when calling coroutine without `await`
2025-06-27 20:24:41 +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
Fgico
c5a59e43ad
Gridmap editor: Removed extra mesh instantiation when setting clipboard
2025-06-27 12:43:37 +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