Commit Graph

17104 Commits

Author SHA1 Message Date
9f67bf96fa SoftBody3D: Add a property for scaling rest lengths of edge constraints 2025-05-16 18:38:00 +03:00
1e50e05235 Merge pull request #105723 from KoBeWi/sortatron
Add file sort to FileDialog
2025-05-16 07:43:13 -05:00
e717440dbe Merge pull request #106446 from zeux/simp-colors
Use vertex colors (if present) as attributes during simplification
2025-05-15 14:53:25 -05:00
da9fb81e1f Merge pull request #89556 from smntic/single-char
Fix words not being selected by endpoints
2025-05-15 14:53:24 -05:00
9a8348cc2c Use vertex colors (if present) as attributes during simplification
When importing meshes with vertex colors, we will now supply them to the
simplifier as attributes with weight=1 (in addition to normals). This will
guide the simplification to preserve regions where vertex colors change.

For this change to take full effect, it is also necessary to respect the
full error when selecting LODs; this change does not do that yet, so there
are going to still be cases where vertex colors change abruptly during LOD
switch in a visible manner.
2025-05-15 21:48:12 +03:00
5538850d87 Core: Convert Pair/KeyValue to constexpr 2025-05-15 10:37:41 -05:00
f3e0005266 Merge pull request #105547 from KoBeWi/default_ok_ok
Improve default OK text in AcceptDialog
2025-05-15 10:22:23 -05:00
be33a05a1e Merge pull request #106430 from timothyqiu/tree-new-bee
Cleanup header includes in Tree
2025-05-15 10:22:19 -05:00
33dcd7a6d9 Add file sort to FileDialog 2025-05-15 13:23:38 +02:00
88d922c55e Cleanup header includes in Tree 2025-05-15 14:28:00 +08:00
076608c979 Improve default OK text in AcceptDialog 2025-05-14 23:08:22 +02:00
decf5bf865 GUI: Copy all text in RichTextLabel if nothing is selected 2025-05-14 19:31:57 +03:00
8b4dd7a34e Merge pull request #105724 from dugramen/recovery/split-commit
Add inline color pickers to script editor
2025-05-14 09:44:16 -05:00
43010e8839 Merge pull request #106357 from YYF233333/remove_search_array
Move bisect functionality to `Span` and deduplicate code
2025-05-14 09:44:14 -05:00
926cadb093 Merge pull request #106257 from lodetrick/tab-control-fixes
Fix TabBar Hidden Tabs Handling
2025-05-14 09:44:13 -05:00
0a5a6e907b Merge pull request #106381 from bruvzg/br_font
Skip default font loading if Brotli is disabled.
2025-05-14 09:44:10 -05:00
4a05246d29 Merge pull request #106342 from Ivorforce/fix-text-edit-search
Refactor `TextEdit::search` to be more robust to failure.
2025-05-14 09:44:07 -05:00
d0693d6867 Merge pull request #89988 from LunaCapra/specular-occlusion
Add support for bent normal maps for specular occlusion and indirect lighting
2025-05-14 09:44:06 -05:00
50c055600a Skip default font loading if Brotli is disabled. 2025-05-14 13:52:10 +03:00
3bf400ffae Move bisect to Span and deduplicate code.
Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com>
2025-05-14 18:19:09 +08:00
581e899785 Refactor TextEdit::search to be more robust to failure. 2025-05-14 10:16:42 +02:00
5fbc8a61fc Fix TabBar hidden tabs handling 2025-05-13 18:11:00 -07:00
b9f59ae6ca Add color pickers to script editor 2025-05-13 18:03:21 -04:00
22a0e81a69 Merge pull request #103922 from Jesusemora/Jesusemora-patch-1
Show `theme_type_variation`s in the inspector on `Control`s that inherit a theme
2025-05-13 16:22:29 -05:00
2053f8d6bf Merge pull request #106343 from timothyqiu/scene-tree-unused
Remove unused `SceneTree::make_group_changed`
2025-05-13 16:22:26 -05:00
1c4b660312 Merge pull request #96611 from Dynamic-Pistol/master
Add `PROPERTY_HINT_INPUT_NAME` for use with `@export_custom` to allow using input actions
2025-05-13 16:22:25 -05:00
d9c8376fe0 Merge pull request #105825 from Alex-Onceanu/playground
Fix `Camera2D` right and bottom limit to depend on bottom right corner
2025-05-13 16:22:24 -05:00
4e507792f2 Merge pull request #105918 from DarkMessiah/fix_tree_item_custom_bg_color
Fix background size calculation in TreeItem
2025-05-13 16:22:14 -05:00
51a063d6d3 Remove unused SceneTree::make_group_changed 2025-05-13 16:40:17 +08:00
1f2f144ce7 Merge pull request #106298 from bruvzg/ac_win_transform
[Accessibility] Account for window scaling transform when setting node bounds.
2025-05-13 01:05:38 +02:00
c4c28f8f62 Merge pull request #106281 from KoBeWi/false
Fix wrong children range when duplicating node
2025-05-13 01:05:23 +02:00
f23d1968b4 Merge pull request #106247 from bruvzg/ac_wl_resize
Do not call `accessibility_set_window_rect` on Wayland, fix main windows accessibility context creation.
2025-05-13 01:05:08 +02:00
a377f50cc6 Merge pull request #106226 from lawnjelly/faster_get_child_count
Faster `Node::get_child_count()`
2025-05-13 01:05:04 +02:00
7d363c2d5c Merge pull request #105560 from BrotherShort/Make-controls-more-precise
Make the position and the size of FileSystem controls more precise
2025-05-13 01:04:43 +02:00
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
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
258062e312 Fix wrong children range when duplicating node 2025-05-12 20:21:40 +02:00
1bdf237558 Fix Camera2D right and bottom limit to depend on bottom right corner 2025-05-12 19:05:08 +02:00
9828c365c3 Add support for bent normals for indirect lighting and specular occlusion 2025-05-12 12:52:04 +02:00
870fb5f74b [Accessibility] Account for window scaling transform when setting node bounds. 2025-05-12 09:12:55 +03:00
5441a82cfb Do not call accessibility_set_window_rect on Wayland, fix main windows accessibility context creation. 2025-05-11 12:51:46 +03:00
a52a7a4a48 Make the position and the size of FileSystem controls more precise 2025-05-11 00:31:49 +08:00
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
b01841f124 Merge pull request #105465 from passivestar/lightmap-missing-nodes
Properly report missing nodes in LightmapGI
2025-05-09 11:29:26 -05:00
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
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
821170f054 Merge pull request #106145 from lander-vr/ambient-light-specular-occlusion
Add specular occlusion from ambient light
2025-05-09 11:29:14 -05:00
a75286840b Merge pull request #106141 from L2750558108/fix-control-position
Fix unexpected control position change when left/top offsets not match `pos_cache`
2025-05-09 11:29:13 -05:00
2db0a44519 Remove vmap.h 2025-05-09 19:05:28 +08:00
31bfc41202 Replace VMap with HashMap in VisualShader. 2025-05-09 19:05:28 +08:00