Commit graph

15103 commits

Author SHA1 Message Date
Rémi Verschelde 1609b275b0
Merge pull request #92638 from AThousandShips/item_selected_sname
[Scene] Add `SceneStringNames::item_selected`
2024-06-19 10:09:53 +02:00
A Thousand Ships d9e2fc74c7
[Scene] Add SceneStringNames::item_selected 2024-06-19 09:39:05 +02:00
Rémi Verschelde 19bf77f666
Merge pull request #91382 from adamscott/sample-player
Add sample playback support
2024-06-19 07:59:07 +02:00
Rémi Verschelde 2b11d0ca96
Merge pull request #93279 from rburing/fti_tile_map_layer
Fix `TileMapLayer` not respecting physics interpolation mode
2024-06-18 23:16:12 +02:00
Ricardo Buring 4c426b0be5 Fix TileMapLayer not respecting physics interpolation mode 2024-06-18 22:05:46 +02:00
Rémi Verschelde 39ab252ba1
Merge pull request #93140 from bruvzg/rtl_table_bg_sep
[RTL] Fix table h/v separation alignment.
2024-06-18 17:59:13 +02:00
Rémi Verschelde fb3d489baa
Merge pull request #93137 from bruvzg/rtl_row_align
[RTL] Fix `align_to_row` for the last table row.
2024-06-18 17:59:10 +02:00
A Thousand Ships d519715d94
[Scene] Add SceneStringNames::font(_size/_color) 2024-06-18 17:24:27 +02:00
Adam Scott 52fa4f05f3
Add samples playback support 2024-06-18 11:06:31 -04:00
Rémi Verschelde 0ec023f101
Merge pull request #92678 from warriormaster12/dup_prop_before_remap_resources
Duplicate properties first before remapping resources
2024-06-18 14:08:39 +02:00
Rémi Verschelde 0a543a6085
Merge pull request #92636 from TokageItLab/blend-point-check
Add blend point check to `AnimationNodeBlendSpace2D::_process()`
2024-06-17 16:01:52 +02:00
Rémi Verschelde 3421c9fab5
Merge pull request #92931 from TokageItLab/child-physical-bone
Fix unbound child bones of the PhysicalBone aren't modified
2024-06-17 14:31:46 +02:00
Rémi Verschelde 170af05c80
Merge pull request #93219 from Chaosus/vs_fix_varyings
Fix bugs in visual shader varyings
2024-06-17 13:30:20 +02:00
Rémi Verschelde ab91c3638c
Merge pull request #93185 from TokageItLab/fix-force-continuous
Fix force continuous with un-interpolatable value is not applied correctly
2024-06-17 10:58:57 +02:00
Rémi Verschelde 9dca8995b2
Merge pull request #89572 from markdibarry/parallax_scale_regression
Avoid passing zoom scale for ParallaxLayer mirror
2024-06-17 10:57:51 +02:00
Yuri Rubinsky 537316098f Fix bugs in visual shader varyings 2024-06-16 16:58:46 +03:00
bruvzg 8ac0d81825
[RTL] Fix table h/v separation alignment. 2024-06-15 17:55:08 +03:00
Silc Lizard (Tokage) Renew 049c1a5699 Fix force continuous un-interpolatable value is not applied correctly 2024-06-15 11:38:52 +09:00
Yuri Rubinsky 99fa6ee6c4 Fix incorrect preview port in visual shader 2024-06-14 12:31:34 +03:00
Rémi Verschelde b4e7947d3f
Merge pull request #93127 from BlueCube3310/material-ready
Material: Fix marking as ready
2024-06-14 10:19:38 +02:00
Rémi Verschelde 6e1e6f0d3b
Merge pull request #92955 from libklein/fix-navigation-polygon-draw
TileSet: Transform rotated navigation (sub)-polygons individually.
2024-06-14 10:19:32 +02:00
Patrick Sean Klein 2dc42e8a93
TileSet: Maintain NavigationPolygon sub-polygons when rotating
The original implementation merged sub-polygons into a single polygon
when rotating. This can cause non-simple geometries downstream
algorithms cannot handle.
2024-06-13 22:16:46 +01:00
bruvzg 23fbdacef8
[RTL] Fix align_to_row for the last table row. 2024-06-13 22:03:34 +03:00
bruvzg 35b4b5f779
[Button] Do not include internal margins into base button minimum size. 2024-06-13 14:18:44 +03:00
BlueCube3310 ea683cd152 Material: Fix marking as ready 2024-06-13 13:12:55 +02:00
bruvzg 18393eb09a
[Window] Ignore duplicate mouse enter events. 2024-06-12 22:37:28 +03:00
Rémi Verschelde e0965f5ad9
Merge pull request #93042 from kitbdev/dont-error-when-empty
TextEdit: Don't error when undo stack is empty
2024-06-12 10:00:47 +02:00
Rémi Verschelde b29723444a
Merge pull request #92992 from KoBeWi/buy_a_new_camera_every_time_project_settings_change
Update Camera2D gizmos when screen size changes
2024-06-12 10:00:41 +02:00
Rémi Verschelde 5bab95a556
Merge pull request #92827 from raulsntos/core/node-to_string
Use GDExtension `to_string` in Node
2024-06-12 10:00:29 +02:00
Rémi Verschelde f1ac3e26cc
Merge pull request #83729 from Chaosus/vs_fix_texture_param
Add extra warning messages to `VisualShaderNodeTextureParameter`
2024-06-12 10:00:23 +02:00
kobewi 9f7f1809ff Update Camera2D gizmos when screen size changes 2024-06-11 18:38:43 +02:00
kit 630d3eb35e Don't error when undo stack is empty 2024-06-11 12:16:36 -04:00
Raul Santos 29bf60cc02
Use GDExtension to_string in Node
Matches the `Object::to_string` implementation.
2024-06-11 17:40:51 +02:00
Rémi Verschelde 034e579fa5
Merge pull request #92901 from kleonc/texture-progress-bar-fix-radial-mode-2-point-polygon-edge-case
Fix `TextureProgressBar` radial mode invalid polygon edge case
2024-06-11 16:59:31 +02:00
Rémi Verschelde 0d1f2396d5
Merge pull request #92847 from aaronp64/varying_getter_port_type
Fix `VisualShaderNodeVaryingGetter` expanded ports adding ".x" to shader
2024-06-11 16:59:25 +02:00
Rémi Verschelde a0bbd398ee
Merge pull request #93008 from aaronp64/container_queue_sort
Fix `Container::pending_sort` tracking
2024-06-11 11:53:42 +02:00
Rémi Verschelde 972839d12a
Merge pull request #92968 from bruvzg/rtl_list_indent
[RTL] Fix list item prefix width not taken into account.
2024-06-11 11:22:52 +02:00
Rémi Verschelde 7359423b16
Merge pull request #92991 from smix8/navregion_canvas_clear
Fix NavigationRegion2D debug not clearing canvas item
2024-06-11 10:49:04 +02:00
Rémi Verschelde d3c1eb009e
Merge pull request #92908 from bruvzg/fix_main_window_initial_mouseover
[Window] Fix mouse hover state of the main window when mouse enter event was sent before setting callbacks.
2024-06-11 10:48:58 +02:00
Silc Lizard (Tokage) Renew 05c0d22afc Fix child bones of the physical bone aren't modified 2024-06-11 14:43:17 +09:00
aaronp64 5a25637ca9 Fix Container::pending_sort tracking
When Container::queue_sort() is called, pending_sort is set to true to indicate when a call to _sort_children() is queued, to avoid queueing multiple calls. Container::_sort_children() sets pending_sort back to false when finished, but did not do this when the container was not inside the tree.  This would allow cases where queue_sort() could be called just before removing from the tree, causing _sort_children() to never reset pending_sort, preventing any future queue_sort() calls from queueing again.

One case where this happened was with the "Saving Scene" progress bar in the editor - when saving for the first time (or the first time the progress bar popup otherwise appeared in the editor), _sort_children() would be called successfully.  After the progress bar popup was hidden, then shown again on future saves, _sort_children() would not be called again, resulting in the progress bar not taking up as much space as it should.

This issue used to be avoided by setting pending_sort to false immediately on NOTIFICATION_ENTER_TREE - however, this would allow multiple calls to be queued at the same time when entering the tree (#92644).  The multiple calls was fixed recently by removing this assignment, but this also made possible the case where pending_sort is never reset.

This change sets pending_sort back to false in _sort_children() whether or not it's in the tree.  Since this is done in a deferred call, it should still avoid the previous issue of multiple calls being queued at once on entering the tree.

Fixes #92971
2024-06-10 20:17:47 -04:00
smix8 6b85bc9de2 Fix NavigationRegion2D debug not clearing canvas item
Fixes NavigationRegion2D debug not clearing canvas item on navigation mesh change.
2024-06-10 19:07:57 +02:00
bruvzg 768fd1eacb
[Window] Fix mouse hover state of the main window when mouse enter event was sent before setting callbacks. 2024-06-10 18:43:01 +03:00
bruvzg 721a663aa3
[Button] Adds theme option to align button text and icon to either largest or current stylebox. 2024-06-10 18:40:52 +03:00
Rémi Verschelde 7128667959
Merge pull request #92943 from anniryynanen/less-file-dialogs
Fix native file dialogs being shown on `set_visible(false)`
2024-06-10 16:12:11 +02:00
Rémi Verschelde 821338c0d1
Merge pull request #92925 from TokageItLab/concatenated-bone-names
Add `get_concatenated_bone_names()` to `Skeleton3D` for `SkeletonModifier3D`'s enum hints
2024-06-10 16:12:08 +02:00
Rémi Verschelde 76b1a1f834
Merge pull request #92896 from TokageItLab/skeleton-mod-get-skeleton
Expose `get_skeleton()` from `SkeletonModifier3D`
2024-06-10 16:12:02 +02:00
Rémi Verschelde 3d170c56d6
Merge pull request #92861 from TokageItLab/fix-animation-player-just-after-started
Fix seeking Animation immediate after playback for Discrete track
2024-06-10 16:11:55 +02:00
Rémi Verschelde 95b84f1239
Merge pull request #92787 from groud/tilemap_x_sort
Implement X-draw-order switch in TileMapLayer
2024-06-10 16:11:48 +02:00
Rémi Verschelde b7ea8415c2
Merge pull request #91997 from aaronp64/tooltip_transforms
Fix tooltip mouse position conversion for scaled controls
2024-06-10 16:11:39 +02:00