Commit Graph

17131 Commits

Author SHA1 Message Date
Thaddeus Crews 4a44078451 Merge pull request #106654 from jamie-pate/fix_106647
Fix Heap buffer overflow in Animation::_find()
2025-05-21 09:06:28 -05:00
Thaddeus Crews 6414451ced Merge pull request #106441 from jorgekorgut/fix-highlight-issues
Fix highlighting warning and error issues
2025-05-21 09:06:24 -05:00
Thaddeus Crews f1e18433d1 Merge pull request #106657 from Riteo/mfw-single-window-mode-broke
Wayland: Fix window fitting in single-window mode
2025-05-21 09:06:22 -05:00
Jamie Pate c317549587 Fix Heap buffer overflow in Animation::_find()
Fixes #106647
2025-05-20 17:26:58 -07:00
Riteo 408de3c970 Wayland: Fix window fitting in single-window mode
We disabled window fitting in multi-window mode as it was broken due to
the limited data but it should still be enabled for embedded windows.
2025-05-21 00:58:41 +02:00
Rémi Verschelde 25a3c27c41 Merge pull request #105628 from rsanchezsaez/apple/ios-visionos-4.5
Native visionOS platform support
2025-05-20 23:09:07 +02:00
Thaddeus Crews 8bd428599c Merge pull request #106621 from bruvzg/hexbox_bl
Adjust hex code box baseline calculation.
2025-05-20 11:37:23 -05:00
Thaddeus Crews bc50082685 Merge pull request #106639 from KoBeWi/hide_from_selection
Deselect invisible TreeItems
2025-05-20 11:37:23 -05:00
David Nikdel 5afb64e167 Fix for camera limits
This commit makes 2D camera limits have a well defined behavior for cases when the limits are smaller than the screen rect.

Presently the RIGHT and TOP limit take prescidence simply because they are applied second. This change adjusts behavior to split the difference in cases where both the LEFT/RIGHT or TOP/BOTTOM limits would both apply.
2025-05-20 11:09:47 -04:00
kobewi c632cf9ffa Deselect invisible TreeItems 2025-05-20 16:58:54 +02:00
Jorge Korgut Junior 77e6d92357 Fix highlighting warning and error issues related to Godot editor.
Fix Issue #104413 : Add a limit of 20 lines of warning highlight otherwise paint the background of the first line only.
Fix Issue #106278 : Extract the logic from clearing and setting background lines from _update_errors() and _update_warnings() to _update_background_text().
Fix Issue #83979 : Added signal for folding/unfolding lines (fold_lines_updated).
Feature: Highlight the folded line using signals connected to _update_background_text() to keep the editor visuals up to date. The background is set in the following priority order: Error, Warning, then Highlight background.
2025-05-20 10:03:39 +02:00
Pāvels Nadtočajevs 7fc4521dd8 Adjust hex code box baseline calculation. 2025-05-20 08:53:40 +03:00
Ricardo Sanchez-Saez 457299449d Introduce 'drivers/apple_embedded' abstract platform for code reuse 2025-05-19 15:37:13 -07:00
Thaddeus Crews be3ecaeb3c Merge pull request #106588 from timothyqiu/tree-new-bee
Lazy create menu and slider nodes in `Tree`
2025-05-19 16:22:30 -05:00
Thaddeus Crews 3120d17f62 Merge pull request #104998 from TokageItLab/unregister-spring-from-physics
Move `SpringBoneSimulator3D` registration to the outside of Physics3D's environment
2025-05-19 16:22:25 -05:00
Thaddeus Crews 0f21ccd4b8 Merge pull request #104560 from TokageItLab/bone-name-validation
Add bone name/idx matching validation and lacked virtual methods to `SkeletonModifier3D`
2025-05-19 08:01:40 -05:00
Thaddeus Crews 3cfe5f9ea8 Merge pull request #106565 from roughbits01/line-edit-secret-drag
Fix LineEdit with secret checked reveals the secret when a selection is dragged
2025-05-19 08:01:34 -05:00
Thaddeus Crews 4af69c9d3b Merge pull request #105920 from TokageItLab/fix-rest-update
Fix rest update process by dirty flag to not take into account pose dirty flag in `Skeleton3D`
2025-05-19 08:01:34 -05:00
Thaddeus Crews 70fa7fba19 Merge pull request #101792 from TokageItLab/oneshot-scale
Change `NodeOneShot` fading to uses self delta instead of input delta
2025-05-19 08:01:30 -05:00
Haoyu Qiu 7aa9174bc4 Lazy create menu and slider nodes in Tree 2025-05-19 15:59:48 +08:00
Marwen Azouzi 296bee6bce Fix LineEdit with secret checked reveals the secret when a selection is dragged 2025-05-19 08:52:45 +02:00
Silc Lizard (Tokage) Renew b4ac896c66 Changed NodeOneShot fading so that it does not depend on input delta 2025-05-18 09:27:05 +09:00
Silc Lizard (Tokage) Renew 17d068963f Add bone name/idx matching validation & virtual func to skel Modifier 2025-05-17 06:18:25 +09:00
Thaddeus Crews 34f005d810 Merge pull request #106487 from bruvzg/rtl_fix
Revert #104357 and #106141 to fix Control RTL position
2025-05-16 10:29:03 -05:00
Thaddeus Crews 1e50e05235 Merge pull request #105723 from KoBeWi/sortatron
Add file sort to FileDialog
2025-05-16 07:43:13 -05:00
Pāvels Nadtočajevs 25ae5c8ab4 Revert "Fix #100536: Control set_position resizes offsets/anchors"
This reverts commit ca57fe1db4.
2025-05-16 14:21:18 +03:00
Pāvels Nadtočajevs 4976b38dec Revert "Fix unexpected control position change when left/top offsets not match pos_cache"
This reverts commit 49c7966042.
2025-05-16 14:19:51 +03:00
Thaddeus Crews 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
Thaddeus Crews da9fb81e1f Merge pull request #89556 from smntic/single-char
Fix words not being selected by endpoints
2025-05-15 14:53:24 -05:00
Arseny Kapoulkine 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
Thaddeus Crews 5538850d87 Core: Convert Pair/KeyValue to constexpr 2025-05-15 10:37:41 -05:00
Thaddeus Crews f3e0005266 Merge pull request #105547 from KoBeWi/default_ok_ok
Improve default OK text in AcceptDialog
2025-05-15 10:22:23 -05:00
Thaddeus Crews be33a05a1e Merge pull request #106430 from timothyqiu/tree-new-bee
Cleanup header includes in Tree
2025-05-15 10:22:19 -05:00
kobewi 33dcd7a6d9 Add file sort to FileDialog 2025-05-15 13:23:38 +02:00
Haoyu Qiu 88d922c55e Cleanup header includes in Tree 2025-05-15 14:28:00 +08:00
kobewi 076608c979 Improve default OK text in AcceptDialog 2025-05-14 23:08:22 +02:00
Danil Alexeev decf5bf865 GUI: Copy all text in RichTextLabel if nothing is selected 2025-05-14 19:31:57 +03:00
Thaddeus Crews 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
Thaddeus Crews 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
Thaddeus Crews 926cadb093 Merge pull request #106257 from lodetrick/tab-control-fixes
Fix TabBar Hidden Tabs Handling
2025-05-14 09:44:13 -05:00
Thaddeus Crews 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
Thaddeus Crews 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
Thaddeus Crews 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
Pāvels Nadtočajevs 50c055600a Skip default font loading if Brotli is disabled. 2025-05-14 13:52:10 +03:00
Yufeng Ying 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
Lukas Tenbrink 581e899785 Refactor TextEdit::search to be more robust to failure. 2025-05-14 10:16:42 +02:00
Logan Detrick 5fbc8a61fc Fix TabBar hidden tabs handling 2025-05-13 18:11:00 -07:00
dugramen b9f59ae6ca Add color pickers to script editor 2025-05-13 18:03:21 -04:00
Thaddeus Crews 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
Thaddeus Crews 2053f8d6bf Merge pull request #106343 from timothyqiu/scene-tree-unused
Remove unused `SceneTree::make_group_changed`
2025-05-13 16:22:26 -05:00