Commit Graph

61141 Commits

Author SHA1 Message Date
Mikael Hermansson f2d615cdc7 Fix contact count sometimes being incorrect in `_process` 2024-02-06 14:29:43 +01:00
Jakub Marcowski 8350c88718 vulkan: Update all components to Vulkan SDK 1.3.275.0 2024-02-06 13:46:56 +01:00
Micky 3edb671b8a Use Packed*Array over Vector<T> in Variant
Also shuffles some method definitions and declarations to be more consistent with the way the Variant types are ordered across the codebase.

And removes an unnecessary JSON assign (`JSON::stringify` can now be accessed statically)
2024-02-06 12:53:19 +01:00
Jakub Marcowski 292df42c3f wayland: Update to 1.22.0 2024-02-06 10:23:42 +01:00
jsjtxietian cf1ede9129 Fix data race regarding `prof_time` in `AudioDriver` and `AudioServer` 2024-02-06 16:55:27 +08:00
Rémi Verschelde d29b0d90e0
Web: Bump closure compiler spec to ECMASCRIPT_2021
Fixes #88008.
2024-02-06 09:19:07 +01:00
milkiq cf453ae8d9 Modify display and documentation of attenuation for Light3D 2024-02-06 12:41:30 +08:00
Markus Sauermann 2235a1cbd0 Add screen-related attributes to mouse input events 2024-02-05 23:30:15 +01:00
Allen Pestaluky f4134fd9b0 Added newer Variant types to typed_array.h
Fixes #87991
2024-02-05 16:37:11 -05:00
Hugo Locurcio 6f9586443a
Add a V-Sync editor setting
The editor setting makes it possible to tweak V-Sync status
independently of the project setting.

Use cases:

- Decrease input lag and increase editor responsiveness when editing
  a project that has V-Sync enabled.
- Avoid tearing when editing a project that has V-Sync disabled.
2024-02-05 22:14:20 +01:00
Pawel Lampe c2cfc0d409 Expose `is_baking` method in navigation servers and region nodes. 2024-02-05 22:04:22 +01:00
Hugo Locurcio 93be97e6a7
Make ShaderMaterial always the last option in inspector resource dropdowns
ShaderMaterial is the "advanced" option, while the "basic" options
should be listed first for easier accessibility (and because they're
generally used more often).

This makes sky and particle materials consistent with
canvas/spatial/fog materials on this aspect.
2024-02-05 21:49:17 +01:00
Hugo Locurcio d94ee14123
Document `OS.execute()` limitations on Android 2024-02-05 20:17:24 +01:00
Alula ea229f5148
OpenGL: Implement 3D Texture support 2024-02-05 20:10:39 +01:00
kobewi 5ab9e50461 Add a dialog to customize run instances 2024-02-05 19:07:31 +01:00
Allen Pestaluky 0e977e087c Fix docs for Color class regarding bits per component.
This fixes godot-docs#8906 ( https://github.com/godotengine/godot-docs/issues/8906 )
2024-02-05 12:55:58 -05:00
BlueCube3310 becf5b1d23 [etcpak] Sync with upstream 2024-02-05 18:53:35 +01:00
Rémi Verschelde d3352813ea
Merge pull request #87981 from adamscott/add-emscripten--sgl_enable_get_proc_address-linker-flag
Fix emscripten 3.1.51 breaking change about `*glGetProcAddress()`
2024-02-05 18:06:15 +01:00
Rémi Verschelde 9a63aeda79
Merge pull request #87980 from KoBeWi/this_history_is_now…_history
Check if history exists before discarding
2024-02-05 18:05:52 +01:00
Rémi Verschelde 843c350cca
Merge pull request #87956 from adamscott/fix-emscripten-lto-build
Add workaround for emscripten >= 3.1.47 LTO build
2024-02-05 18:05:26 +01:00
Adam Scott 5922ac0fb1
Fix emscripten 3.1.51 breaking change about `*glGetProcAddress()` 2024-02-05 11:55:03 -05:00
kobewi 808f4e8cb9 Check if history exists before discarding 2024-02-05 17:42:37 +01:00
Rémi Verschelde f427d2f0d3
Merge pull request #87976 from AThousandShips/black_hole
Fix crash with `PhysicsBody2D/3D::get_gravity` with invalid state
2024-02-05 17:22:54 +01:00
Jakub Marcowski ba1c5bf4bd wayland-protocols: Update to 1.33 2024-02-05 17:18:58 +01:00
Rémi Verschelde f8f2c8c85a
Merge pull request #87814 from bruvzg/memalign
[Core] Improve `CowData` and `Memory` metadata alignment.
2024-02-05 17:10:52 +01:00
A Thousand Ships fb1662b939
Fix crash with `PhysicsBody2D/3D::get_gravity` with invalid state 2024-02-05 16:40:49 +01:00
bruvzg 7bcb419149
[Core] Improve `CowData` and `Memory` metadata alignment. 2024-02-05 17:30:02 +02:00
Rémi Verschelde 63d6bda8e9
Merge pull request #87871 from vittorioromeo/use_v_shorthand
Use `_v` shorthand for type traits and `if constexpr` where appropriate
2024-02-05 15:00:23 +01:00
Rémi Verschelde 6f2adcd63c
Merge pull request #87960 from bruvzg/mvk_ver_chk
[macOS] Check Vulkan SDK version when looking for MoltenVK libs.
2024-02-05 14:54:56 +01:00
Rémi Verschelde 01fd96e19d
Merge pull request #87951 from AThousandShips/doc_link_fix
Fix inverted link in docs
2024-02-05 14:54:33 +01:00
Rémi Verschelde 710c56e6b1
Merge pull request #87948 from ryevdokimov/always-default-to-region-select
Fix new region select with selection when over geometry
2024-02-05 14:54:10 +01:00
Rémi Verschelde 43a8351263
Merge pull request #87943 from 0x0ACB/tree_recursion
Only recurse depth wise in `Tree::_count_selected_items`
2024-02-05 14:53:46 +01:00
Rémi Verschelde 2f9ea3a505
Merge pull request #87941 from AThousandShips/num_fix
[GDScript] Prevent running `String` number functions on invalid literal
2024-02-05 14:53:23 +01:00
Rémi Verschelde f4f1398503
Merge pull request #87938 from tishin/fix-gdextension-deinit
Add null check for GDExtension deinitialization
2024-02-05 14:53:00 +01:00
Rémi Verschelde 3eb25dd728
Merge pull request #87933 from aaronfranke/fix-gltf-crash-root-skel-imp
Fix crash when importing a GLTF file with a skeleton as the root
2024-02-05 14:52:37 +01:00
Rémi Verschelde 8631f68509
Merge pull request #87928 from 31/dev/31/call-deferred-cs
Add `Callable` `call_deferred()` C# example
2024-02-05 14:52:14 +01:00
Rémi Verschelde 64cee8a99f
Merge pull request #87922 from ryevdokimov/all-tools-can-select-regression-2
Fix a regression when multiple nodes are selected and drag transform is attempted w/o gizmo
2024-02-05 14:51:48 +01:00
Rémi Verschelde 79539cb886
Merge pull request #87893 from vittorioromeo/extract_safe_binary_mutex
Extract `SafeBinaryMutex` to separate header
2024-02-05 14:51:25 +01:00
Rémi Verschelde fbd203401b
Merge pull request #87881 from smix8/height_min_max_helpers
Add HeightMapShape3D functions to get min / max height
2024-02-05 14:51:02 +01:00
Rémi Verschelde c23cc08b1c
Merge pull request #87880 from kitbdev/fix-textedit-freeze
Fix freeze in TextEdit with `scroll_past_end_of_file` and `fit_content_height`
2024-02-05 14:50:33 +01:00
Rémi Verschelde 45e9d20d60
Merge pull request #87834 from TokageItLab/remove-dupecall-scene-tree-dock
Remove duplicated callings `set()` from SceneTreeDock
2024-02-05 14:50:09 +01:00
Rémi Verschelde 474d9b7e2e
Merge pull request #87771 from jsjtxietian/region-mismatch
Fix `TextureRegionEditor::_pan_callback` deferred called with only one argument
2024-02-05 14:49:45 +01:00
Rémi Verschelde 07655a0e11
Merge pull request #87623 from Calinou/editor-scene-drag-and-drop-tweak-modifier
Change scene drag-and-drop modifier behavior in the 2D and 3D editors
2024-02-05 14:49:21 +01:00
Rémi Verschelde e096be85c4
Merge pull request #87125 from ryevdokimov/fix-removing-preview-nodes-on-ui-cancel
Clear drag preview nodes on `NOTIFICATION_DRAG_END`
2024-02-05 14:48:56 +01:00
Rémi Verschelde acde2a81ff
Merge pull request #84640 from aaronfranke/gravity-get
Expose a method to get gravity for any physics body
2024-02-05 14:48:31 +01:00
Zach Coleman fc7a63cbf3 Enhance mobile suspend MainLoop Notifications 2024-02-04 21:10:06 -05:00
smix8 085bc9504b Add NavigationPolygon border_size property for tile baking
Adds NavigationPolygon border_size property for tile baking. Also adds baking Rect2 bounds.
2024-02-05 00:38:28 +01:00
bruvzg 70e328385c
[macOS] Check Vulkan SDK version when looking for MoltenVK libs. 2024-02-04 23:09:52 +02:00
Adam Scott 656bc22e28
Add workaround for emscripten >= 3.1.47 LTO build 2024-02-04 15:24:24 -05:00
bruvzg b5dfeca498
[macOS] Do not show file type popup in the native file dialog if there's only one option, improve `*.*` filter handling. 2024-02-04 21:30:59 +02:00