Rémi Verschelde
b44aa1ad9d
Merge pull request #105104 from Joy-less/use-frozen-dictionary
...
Use `FrozenDictionary` for `NamedColors`
2025-05-13 01:04:39 +02:00
Rémi Verschelde
b7f75578db
Merge pull request #104419 from Ryan-000/fix_animation_mixer_errors
...
Remove incorrect errors in AnimationMixer
2025-05-13 01:04:33 +02:00
Rémi Verschelde
06a1e5a06b
Merge pull request #103709 from YYF233333/gds_call_state
...
Remove dead code in GDScript function `CallState`
2025-05-13 01:04:26 +02:00
Rémi Verschelde
ca8f99a4d8
Merge pull request #101950 from YYF233333/vector_glyph
...
Use `LocalVector<Glyph>` in `TextServerAdvanced` to reduce reallocation
2025-05-13 01:04:23 +02:00
Rémi Verschelde
a529abc361
Merge pull request #101339 from Ivorforce/remove-nothing
...
Remove unintentional use of zero-width space.
2025-05-13 01:04:19 +02:00
Rémi Verschelde
2b037e8989
Merge pull request #93276 from mashumafi/avoid-vec-copy
...
Avoid unnecessary copy-on-write Vector/Array
2025-05-13 01:04:16 +02:00
Rémi Verschelde
b8fba34c17
Merge pull request #75629 from RedworkDE/non-atomic-error-macros
...
Remove pointless use of atomics in error macros
2025-05-13 01:04:12 +02:00
Jesusemora
b22eba1285
Show theme_type_variations in the inspector on Controls that inherit a theme
...
`theme_type_variation`s are now shown in the children and children of children
that inherit a theme from a parent `Control` node.
2025-05-13 00:56:06 +02:00
Joel Croteau
981f1e9298
Rename VariantUtilityFunctions::join() to join_string()
2025-05-12 17:51:09 -05:00
Joel Croteau
8be7ad32e7
Consolidate and simplify string joining code in VariantUtilityFunctions
...
`variant_utility.cpp` has 8 different copies of the exact same loop to join
vararg strings together. This is bad coding process and makes the codebase
needlessly cluttered. Also, the loop itself has an i == 0 check that is
unnecessary since String is auto-initialized to be empty and String::operator+=
already checks if it is empty before appending. This is a non-functional change
that only reorganizes the code to be a bit more readable.
2025-05-12 17:47:14 -05:00
kobewi
e0e8bd5394
Optimize unsaved history checking
2025-05-13 00:13:12 +02:00
aaronp64
8fb3697916
Avoid single character String allocations when appending characters
...
Removed calls to String::chr() when appending characters to Strings in Expression, Resource, and VariantParser, to avoid creating temporary Strings for each character. Also updated the Resource case to resize String up front, since size is known.
2025-05-12 17:35:42 -04:00
Lukas Tenbrink
e8c3409d40
Remove 4 unintentional uses of zero-width space and zero-width non-joiner.
2025-05-12 22:00:37 +02:00
Stuart Carnie
544ab4ccab
macOS: Process first click event without requiring focus
...
This improves the user experience for macOS users, to be consistent with
other macOS applications. When a Godot window is not focused, and the
user clicks on the window, the event is forwarded to the receiving
control to be processed as if the window was already focused.
2025-05-13 05:21:51 +10:00
Rudolph Bester
d41fe74342
Change Occlusion Culling Buffer debug view to use log scaling
2025-05-12 20:46:18 +02:00
kobewi
258062e312
Fix wrong children range when duplicating node
2025-05-12 20:21:40 +02:00
GlitchedCode
4b3c5336cd
Make errors override warnings in script line coloring
2025-05-12 17:55:51 +00:00
Alex Onceanu
1bdf237558
Fix Camera2D right and bottom limit to depend on bottom right corner
2025-05-12 19:05:08 +02:00
RedworkDE
c5777c43d9
Remove pointless use of atomics in error macros
2025-05-12 17:06:19 +02:00
mashumafi
b73346ef19
Avoid copy-on-write when reading vectors
2025-05-12 16:08:05 +02:00
Rémi Verschelde
06b8d05eda
Preserve CRLF line terminators for MSVS project template
2025-05-12 13:24:23 +02:00
Haoyu Qiu
bbc6643e4c
Remove translation loading logic that was never used
2025-05-12 19:05:20 +08:00
Capry
9828c365c3
Add support for bent normals for indirect lighting and specular occlusion
2025-05-12 12:52:04 +02:00
Youngmin Koo
b99baa38f1
C#: Load assemblies directly from PCK on Android
...
Assemblies are now loaded directly from the PCK (`res://`) instead of
a cache directory. This prevents runtime failures that occurred when
the OS cleared cached files (e.g., under low storage), ensuring
the required assemblies are always available.
2025-05-12 19:31:44 +09:00
Yyf2333
21fc5cce5c
Use LocalVector<Glyph> to reduce reallocation.
2025-05-12 18:11:18 +08:00
Yufeng Ying
55a61cbd4a
Optimize InputMap::get_actions.
2025-05-12 17:51:27 +08:00
Pāvels Nadtočajevs
870fb5f74b
[Accessibility] Account for window scaling transform when setting node bounds.
2025-05-12 09:12:55 +03:00
Riteo
c3b04e6e1e
Wayland: fix error spam when closing popup
...
Previously we did not check whether the value actually changed or not
and thus would get constant errors for no reason.
2025-05-12 05:11:24 +02:00
Stuart Carnie
f658161619
macOS: Embedded window can be dismissed by clicking close
...
- Installed a SIGINT handler to terminate the application gracefully.
- Handle varying display scaling
2025-05-12 07:09:42 +10:00
Raul Santos
6464347157
[Android] Store native libraries uncompressed in APK
2025-05-11 21:02:44 +02:00
Pāvels Nadtočajevs
5441a82cfb
Do not call accessibility_set_window_rect on Wayland, fix main windows accessibility context creation.
2025-05-11 12:51:46 +03:00
lawnjelly
39b16bcc3c
SCU - hide SCU folders by adding "." to foldername
2025-05-11 07:02:36 +01:00
Pāvels Nadtočajevs
44400b1419
Fix EditorNode::drag_resource crash.
2025-05-10 20:49:19 +03:00
BrotherShort
a52a7a4a48
Make the position and the size of FileSystem controls more precise
2025-05-11 00:31:49 +08:00
Chaosus
16f51d4671
Remove duplicated entries from shader built-ins
2025-05-10 19:24:20 +03:00
lawnjelly
795ed8fd12
Faster Node::get_child_count()
...
There is no need to update the children cache when including internal nodes in the count.
2025-05-10 11:35:59 +01:00
Thaddeus Crews
19bb18716e
Merge pull request #102399 from clayjohn/cull-mask-overhaul
...
Overhaul the cull mask internals for Lights, Decals, and Particle Colliders
2025-05-09 11:29:28 -05:00
Thaddeus Crews
3c90a0e913
Merge pull request #106110 from BlueCube3310/basisu-hdr-quality
...
BasisU: Configure HDR quality from the settings
2025-05-09 11:29:28 -05:00
Thaddeus Crews
43eeed5d54
Merge pull request #105594 from smix8/navlink_3d_gizmo_plugin
...
Move `NavigationLink3DGizmoPlugin` to `navigation_3d` module.
2025-05-09 11:29:27 -05:00
Thaddeus Crews
b01841f124
Merge pull request #105465 from passivestar/lightmap-missing-nodes
...
Properly report missing nodes in LightmapGI
2025-05-09 11:29:26 -05:00
Thaddeus Crews
c85d6b3078
Merge pull request #103276 from BlueCube3310/bcdec-alignment-fix
...
bcdec: Fix decompressing mipmaps of non-power of 2 textures
2025-05-09 11:29:25 -05:00
Thaddeus Crews
1b439d49a9
Merge pull request #100446 from YYF233333/vmap
...
Replace `VMap` used in `VisualShader` with `HashMap` and remove `VMap`
2025-05-09 11:29:25 -05:00
Thaddeus Crews
d68e2710a2
Merge pull request #106205 from RedMser/limit-length-discoverability
...
Doc: Add search keywords for `Vector2/3.limit_length` method
2025-05-09 11:29:24 -05:00
Thaddeus Crews
9230c066e0
Merge pull request #106203 from KoBeWi/image_is_not_a_texture_but_they_are_very_similar
...
Fix wrongly assigned `emission_normal_texture`
2025-05-09 11:29:23 -05:00
Thaddeus Crews
ee89536cbd
Merge pull request #106195 from timothyqiu/action-type
...
Fix type error in `InputEventAction.action` description
2025-05-09 11:29:22 -05:00
Thaddeus Crews
4e1050ef22
Merge pull request #106194 from timothyqiu/root-resource
...
Fix some extensions missing in resource load dialog
2025-05-09 11:29:22 -05:00
Thaddeus Crews
96b7a82816
Merge pull request #106193 from timothyqiu/dnd-instanced
...
Script Editor: Fix Ctrl-Drag unique-name Editable Children
2025-05-09 11:29:21 -05:00
Thaddeus Crews
8fa1f36914
Merge pull request #106189 from roughbits01/fix-typo
...
Fix a typo in variable name in ProgressBar class
2025-05-09 11:29:20 -05:00
Thaddeus Crews
461c45f2a1
Merge pull request #106188 from smix8/nav2d_editorplugins
...
Move 2d navigation related editor plugins to `navigation_2d` module.
2025-05-09 11:29:20 -05:00
Thaddeus Crews
941a979c38
Merge pull request #106179 from Aioshiro/editorProperty_description_swap
...
Fix description of `EditorProperty`'s `draw_background` and `draw_label`
2025-05-09 11:29:19 -05:00