Rémi Verschelde
4d984b6369
Merge pull request #93930 from Arnklit/short-animation-length-bezier-handle-fix
...
Clamp bezier handle length to half the length of animation
2024-07-04 17:12:22 +02:00
Rémi Verschelde
af55caff36
Merge pull request #93723 from KoBeWi/bandaid.tscn
...
Speed up scene group scanning for text scenes
2024-07-04 17:12:06 +02:00
Kasper Frandsen
7c6f32ddbf
Clamp bezier handle length to half the length of animation
2024-07-04 13:41:12 +01:00
Rémi Verschelde
640d8151ff
Merge pull request #93876 from JacobMillner/fix-blend-times-sorting
...
Fix AnimationPlayer `blend_times` sorting
2024-07-04 11:32:07 +02:00
bruvzg
41df3caad3
[Button] Use align_to_largest_stylebox for min. size calculation.
2024-07-04 09:40:55 +03:00
Jacob Millner
825cb3e6c5
fix the sorting of blend_times in animation player
...
Modify BlendKey's sort to use AlphaCompare in order to create a deterministic sort
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-07-03 10:01:32 -04:00
Arseny Kapoulkine
a13a64eacd
Disable normal raycaster for LOD generation by default
...
Normal raycaster makes LOD generation process >2x slower and often
generates normals that look significantly worse compared to what the
simplifier comes up with by default. This was likely different before
last meshoptimizer upgrade, as the attribute metric was not functioning
properly, but now it looks like it's doing more harm than good.
This change makes it disabled by default but keeps an easy option to
re-enable it per mesh using LOD parameters for now until we get more
confidence and can remove the code outright.
Because the long term plan would be to disable this feature entirely,
the scripting API isn't changed, and it's just off-by-default there with
no way to re-enable.
2024-07-02 10:18:15 -07:00
Hugo Locurcio
33e1f570ff
Fix GPUParticles Inherit Velocity breaking with physics movement
...
GPUParticles' Inherit Velocity property used to act strangely
if the physics tick rate was lower than the rendered FPS, as velocity
was tracked in the process and not in the physics process. This
means that on certain rendered frames, the velocity was effectively
0 since there was no movement since the last rendered frame.
2024-07-02 01:46:57 +02:00
kleonc
88b29539f7
Fix AtlasTexture::draw_rect flipping for non-zero margin
2024-07-01 21:22:25 +02:00
Rémi Verschelde
a05237f5d0
Merge pull request #93785 from TokageItLab/fix-bezier-init
...
Fix Bezier track init value on caching without RESET animation
2024-07-01 10:07:37 +02:00
Silc Lizard (Tokage) Renew
e8c2edefd1
Fix Bezier track init value on caching
2024-07-01 01:20:43 +09:00
kobewi
b83c64faac
Speed up scene group scanning for text scenes
2024-06-29 21:30:38 +02:00
Rémi Verschelde
4ab8fb8093
Merge pull request #93747 from KoBeWi/layer_of_bugs
...
Fix some TileMapLayer editing problems
2024-06-29 19:54:30 +02:00
Alvin Wong
cc45c2cdd3
Change GUI controls pixel snap to round halfway to +ve infinity
2024-06-30 00:33:37 +08:00
kobewi
92b0375785
Fix some TileMapLayer editing problems
2024-06-29 18:18:54 +02:00
Mark DiBarry
6b17d51425
Add alternative pixel rounding
2024-06-29 10:33:39 -04:00
semensanyok
5dffb9b5e6
fix RichTextLabel fade set start_index to command offset
2024-06-28 23:15:21 +02:00
Rémi Verschelde
d71c85ce5f
Merge pull request #92016 from KoBeWi/pick_layers_like_a_boss
...
Allow selecting TileMapLayers by clicking them
2024-06-28 15:55:10 +02:00
Rémi Verschelde
a365cf59c8
Merge pull request #93635 from Chaosus/shader_fix_vec4_uniform
...
Use `PackedVector4Array` instead of float array for vec4 array uniform
2024-06-28 14:42:57 +02:00
Yuri Rubinsky
72c7e51905
Use `PackedVector4Array` instead of float array for vec4 array uniform
2024-06-28 13:34:43 +03:00
Rémi Verschelde
17a0a080e7
Merge pull request #93672 from KoBeWi/duplicarray
...
Fix duplicating nodes with Array properties
2024-06-28 11:35:14 +02:00
Rémi Verschelde
a647789c5b
Merge pull request #93656 from vgezer/fixmissingsep
...
Add missing punctuation to the default TextEdit word separators
2024-06-28 11:35:11 +02:00
Rémi Verschelde
11db60e9c5
Merge pull request #93482 from TokageItLab/reset-attachment
...
Reset when disabling override pose in BoneAttachment3D
2024-06-28 11:34:55 +02:00
kobewi
bef2e62c88
Fix duplicating nodes with Array properties
2024-06-27 19:17:50 +02:00
Volkan Gezer
76b2e5b2c8
add missing punctuation to the default list
2024-06-27 17:51:21 +02:00
Silc Lizard (Tokage) Renew
c57a8114d4
Reset when disabling override pose in BoneAttachment3D
2024-06-28 00:48:26 +09:00
Rémi Verschelde
3f4bcfeef1
Merge pull request #93607 from kitbdev/fix-text-edit-move-lines
...
CodeEdit: Fix move lines up/down viewport and selection issues
2024-06-27 17:08:23 +02:00
Rémi Verschelde
0364443d12
Merge pull request #93346 from RandomShaper/gds_cyc_alt
...
GDScript: Enhance handling of cyclic dependencies
2024-06-26 18:15:16 +02:00
Pedro J. Estébanez
c1391489e3
GDScript: Enhance handling of cyclic dependencies
2024-06-26 17:44:32 +02:00
Robocraft999
dc6e664fda
Fix AnimationSprite2D/3D::play using wrong end_frame
...
On playing a different animation to the current backwards will start the new animation on the last animations last frame not the new ones
2024-06-26 13:50:44 +02:00
Rémi Verschelde
1f94de2612
Merge pull request #93504 from TokageItLab/fix-physical-bone-raycast
...
Rework migration of `animate_physical_bones` for compatibility
2024-06-26 11:08:35 +02:00
Rémi Verschelde
5ca01c4847
Merge pull request #93490 from bruvzg/vp_subw_os
...
Fix subwindow titlebar redraw on oversampling change.
2024-06-26 11:08:24 +02:00
kit
a7da814c6b
CodeEdit Fix move lines up/down viewport and selection issues
2024-06-25 15:31:20 -04:00
Silc Lizard (Tokage) Renew
793f3832e5
Rework migration of animate_physical_bones to compatibility
2024-06-25 18:54:59 +09:00
Rémi Verschelde
9de37ab680
Merge pull request #93505 from TokageItLab/disable-cache-when-adding-animation
...
Make AnimationTrackCaches invalid when animation is added
2024-06-25 10:01:54 +02:00
Rémi Verschelde
b071472fa2
Merge pull request #93502 from TokageItLab/optimize-modifier-flag
...
Optimize update flag by SkeletonModifier
2024-06-25 10:01:50 +02:00
Rémi Verschelde
b63df071bd
Merge pull request #92514 from /addWordSeparators
2024-06-25 09:19:35 +02:00
Volkan Gezer
e60678f193
enable custom separators to treat different characters as words
2024-06-24 20:43:13 +02:00
Rémi Verschelde
bf20231140
Merge pull request #93179 from TheSofox/tree-nav-crash
...
Fix engine crashing when using Down Arrow selection on Tree with no selection
2024-06-24 11:14:06 +02:00
Silc Lizard (Tokage) Renew
e82ec1a8ce
Make AnimationTrackCaches invalid when animation is added
2024-06-23 23:33:55 +09:00
Thaddeus Crews
cc6dd8d02c
Style: Optimize `.svg` files with `svgo`
2024-06-23 08:15:19 -05:00
Silc Lizard (Tokage) Renew
5774d57496
Optimize update flag by SkeletonModifier
2024-06-23 17:01:01 +09:00
bruvzg
c689823c60
Fix subwindow titlebar redraw on oversampling change.
2024-06-23 00:01:56 +03:00
Sofox
d86e02580c
Fix engine crashing when using Down Arrow selection on Tree with no selection
2024-06-22 18:40:21 +01:00
Rémi Verschelde
04bf7d4cad
Merge pull request #93467 from anniryynanen/progress-circle-atlas
...
Fix atlas texture positioning in circular TextureProgressBar
2024-06-22 16:22:30 +02:00
Rémi Verschelde
e526f12c6f
Merge pull request #93444 from JaviARodriguez/Open-source-Contribution
...
Fix FlowContainer scale from also scaling wrap point
2024-06-22 16:22:24 +02:00
Rémi Verschelde
1e0c741fe5
Merge pull request #93430 from KoBeWi/I_store_NodePaths,_you_store_Nodes,_we_are_not_the_same
...
Fix storing of Node Array properties
2024-06-22 16:22:17 +02:00
Rémi Verschelde
022b5a1f54
Merge pull request #93426 from smix8/poly_good_locking
...
Fix thread-use causing navigation polygon data corruption
2024-06-22 16:22:14 +02:00
Anni Ryynänen
2c5befde43
Fix atlas texture positioning in circular TextureProgressBar
...
In 4.2 TextureProgressBar needed to position its atlas texture, but in 4.3
`draw_polygon()` handles it.
2024-06-22 16:07:26 +03:00
Javi Rodriguez
d6e17b8a0d
Fix FlowContainer scale from also scaling wrap point
...
When a FlowContainer was scaled, the point at which a line wraps would
also be scaled. This would cause a FlowContainer to have lines that did
not fit the container.
FlowContainer no longer factors its scale when resorting children.
Fixes #93439
2024-06-21 19:13:43 -04:00
Hugo Locurcio
281e0e6a5b
Allow BaseMaterial3D height/dither fade to work with Compatibility rendering
...
Compatibility is based on OpenGL ES 3.0, so the height shader
(including deep parallax) and distance fade dither modes work
just fine with no adjustments required.
2024-06-22 00:57:22 +02:00
kobewi
74cc9e8d93
Fix storing of Node Array properties
2024-06-21 15:49:48 +02:00
Adam Scott
e8212f1849
Remove superfluous non-working sample playing check
2024-06-21 07:17:28 -04:00
smix8
eba3acadac
Fix thread-use causing navigation polygon data corruption
...
Fixes navigation polygon data corruption caused by thread-use that changed vertices or polygons while the navigation polygon was processed, e.g. by server region sync, navmesh baking or user thread updates.
2024-06-21 12:58:03 +02:00
Rémi Verschelde
04a530f91f
Merge pull request #93407 from smix8/lock_this_geometry_up
...
Fix thread-use causing navigation source geometry data corruption
2024-06-21 10:14:38 +02:00
smix8
fd727ab994
Fix thread use causing navigation mesh data corruption
...
Fixes navigation mesh data corruption caused by thread use that changed vertices or polygons while the navigation mesh was processed, e.g. by server sync or baking.
2024-06-21 09:39:16 +02:00
smix8
d4722b9e1f
Fix thread-use causing navigation source geometry data corruption
...
Fixes navigation source geometry data corruption caused by thread-use that changed vertices or indices while the source geometry data was used in a parsing process or read from by the navmesh baking.
2024-06-21 08:06:14 +02:00
Rémi Verschelde
9de785639d
Merge pull request #93386 from anniryynanen/grid-min-size
...
Fix GridContainer minimum size when there's a hidden parent
2024-06-20 16:19:02 +02:00
Rémi Verschelde
f7d1e39825
Merge pull request #93377 from EAinsley/fix#92869
...
Fix Subviewport keeps using removed Camera3D child.
2024-06-20 16:18:56 +02:00
Rémi Verschelde
ff9c6332fd
Merge pull request #93368 from rburing/fti_skinning
...
Physics interpolation: Fix 2D skinning
2024-06-20 16:18:47 +02:00
Rémi Verschelde
8f739cc106
Merge pull request #93354 from AThousandShips/fix_occluder_hierarchy
...
Fix invalid inheritance of `OccluderInstance3D`
2024-06-20 16:18:36 +02:00
maski
734fab7f20
Improve SurfaceTool::generate_tangents UV error message
...
Fixes #92395 .
2024-06-20 16:13:12 +02:00
Anni Ryynänen
0fefd6cc80
Fix GridContainer minimum size when there's a hidden parent
...
When calculating minimum size, GridContainer only looks at children that are
returned from `as_sortable_control()`. That defaults to only showing children
visible in the tree, so if the grid has a hidden parent the minimum size
becomes (0, 0).
After this change only the child itself needs to be visible, making
`GridContainer::get_minimum_size()` behave the same way as other controls.
Fixes #91722 .
2024-06-20 13:49:09 +03:00
Ricardo Buring
6d35dcf7c5
Physics interpolation: Fix 2D skinning
...
Co-authored-by: lawnjelly <lawnjelly@gmail.com>
2024-06-20 11:35:38 +02:00
Ainsley
915e39b3c9
Use `_camera_3d_set` instead of change camera_3d directly
2024-06-20 17:21:38 +08:00
A Thousand Ships
0ae4298a3a
Fix invalid inheritance of `OccluderInstance3D`
2024-06-19 16:47:37 +02:00
Rémi Verschelde
9a4942f2f5
Merge pull request #93340 from RandomShaper/fix_anim_text_thread
...
AnimatedTexture: Fix crash when loaded from a thread
2024-06-19 11:01:20 +02:00
Rémi Verschelde
558054f707
Merge pull request #92640 from AThousandShips/text_value_changed_sname
...
[Scene] Add `SceneStringNames::text/value_changed`
2024-06-19 10:10:00 +02:00
Rémi Verschelde
0cc321b144
Merge pull request #92639 from AThousandShips/confirmed_sname
...
[Scene] Add `SceneStringNames::confirmed`
2024-06-19 10:09:56 +02:00
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
Pedro J. Estébanez
e6d930b31f
AnimatedTexture: Fix crash when loaded from a thread
2024-06-19 09:54:01 +02:00
A Thousand Ships
fbb879debd
[Scene] Add `SceneStringNames::text/value_changed`
2024-06-19 09:44:38 +02:00
A Thousand Ships
ca18a06ecb
[Scene] Add `SceneStringNames::confirmed`
2024-06-19 09:40:54 +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
Gilles Roudière
c283db2130
Implement X-draw-order switch in TileMapLayer
2024-06-10 15:53:58 +02:00
bruvzg
fff71db5b1
[RTL] Fix list item prefix width not taken into account.
2024-06-10 13:14:56 +03:00
Silc Lizard (Tokage) Renew
a57f9f863d
Add get_concatenated_bone_names() to Skeleton3D for Modifier's hint
2024-06-10 10:19:36 +09:00
Silc Lizard (Tokage) Renew
e92a453840
Expose get_skeleton() from SkeletonModifier3D
2024-06-09 23:58:05 +09:00
Anni Ryynänen
b14b222e9d
Fix native file dialogs being shown on `set_visible(false)`
2024-06-09 17:54:18 +03:00
Silc Lizard (Tokage) Renew
bea47d877b
Fix seeking Animation immediate after playback for Discrete track
2024-06-08 22:09:37 +09:00
kleonc
7f6951b1f6
Fix TextureProgressBar radial mode invalid polygon edge case
2024-06-08 13:51:32 +02:00
Rémi Verschelde
a6bb8b00d7
Merge pull request #92664 from KoBeWi/ultimate_final_solution_for_containers
...
Add visibilty mode to `as_sortable_control()`
2024-06-07 23:29:48 +02:00
Rémi Verschelde
2c01573fdf
Merge pull request #92645 from WhalesState/container-resort
...
Fix `NOTIFICATION_SORT_CHILDREN` is called twice on startup
2024-06-07 23:29:44 +02:00
Rémi Verschelde
1ee953030e
Merge pull request #92271 from kitbdev/fix-max-line-size
...
Fix TextEdit HScroll hiding after wrapping
2024-06-07 23:29:28 +02:00
Rémi Verschelde
c2d983553b
Merge pull request #91390 from kitbdev/add-selection-unhide-carets
...
Unhide carets in add selection for occurrence and fix error
2024-06-07 23:29:23 +02:00
Rémi Verschelde
5fcd9803cd
Merge pull request #90850 from AlexeyBond/patch-1
...
Handle Vector4 default input values in visual shaders
2024-06-07 23:29:19 +02:00
jsjtxietian
8d888807f7
Sync visual shader's distance fade using circular fade
2024-06-07 11:32:27 +08:00
aaronp64
73343a2e7f
Fix VisualShaderNodeVaryingGetter expanded ports adding ".x" to shader
...
When VisualShaderNodeVaryingGetter type was Vector2/Vector3/Vector4, expanding the output ports and connecting an individual value to a scalar input would add ".x" to the assignment in the generated shader. This was due to `VisualShaderNodeVarying::get_port_type` ignoring the port number, and always returning the associated vector type. Added checks for `p_port == 0` to return either the vector type, or scalar for expanded ports, matching similar logic in other nodes, like `VisualShaderNodeColorConstant::get_output_port_type`.
Fixes #92832
2024-06-06 15:21:21 -04:00
bruvzg
864a93fdbf
Fix excessive canvas items updates.
2024-06-05 21:01:30 +03:00
Rémi Verschelde
7c2d65ff66
Merge pull request #92745 from bruvzg/rtl_list_fix
...
[RTL] Fix nested ordered lists inside unordered lists.
2024-06-04 10:10:34 +02:00
Rémi Verschelde
0242e3ca9f
Merge pull request #92740 from bruvzg/subvp_ime_activation
...
Fix IME activation in subviewports.
2024-06-04 10:10:30 +02:00
Rémi Verschelde
228564c64b
Merge pull request #92739 from TokageItLab/fix-blend2d-sync
...
Fix BlendSpace2D sync flagging line
2024-06-04 10:10:26 +02:00
Rémi Verschelde
241d45d063
Merge pull request #92731 from bruvzg/vp_oversmpling_upd
...
Force canvas item update on oversampling change.
2024-06-04 10:10:17 +02:00
bruvzg
5e616cedd4
[RTL] Fix nested ordered lists inside unordered lists.
2024-06-04 08:08:16 +03:00
bruvzg
d45b896673
Fix IME activation in subviewports.
2024-06-04 00:03:02 +03:00
Silc Lizard (Tokage) Renew
eacc122f32
Fix BlendSpace2D sync flagging line
2024-06-04 05:52:39 +09:00
kobewi
02e1e6d1ec
Add visibilty mode to as_sortable_control()
2024-06-03 20:01:31 +02:00
bruvzg
9fb9660912
Force canvas item update on oversampling change.
2024-06-03 19:46:49 +03:00
kobewi
be111004dd
Fix default NodePaths saved in scene
2024-06-03 13:10:23 +02:00
Rémi Verschelde
9b4cfcba5f
Merge pull request #92669 from Hilderin/fix-huge-tscn-icon-in-background-of-file-system-panel
...
Fix huge .tscn icon and icon in background of File System panel
2024-06-03 10:36:02 +02:00
Rémi Verschelde
353f7bf6af
Merge pull request #92605 from aaronp64/richtextlabel_table_overlap
...
Fix `RichTextLabel` table overlapping with next line
2024-06-03 10:35:54 +02:00
Rémi Verschelde
41e762ca29
Merge pull request #91454 from akien-mga/coverity-checks
...
Fix Steam input "crc" errors, and some other Coverity reports of uninitialized scalar variable
2024-06-03 10:35:38 +02:00
Hilderin
81395cf9bd
Fix Huge .tscn Icon and icon in background of File System panel
2024-06-02 09:11:56 -04:00
warriormaster12
e4d0d1344b
Duplicate properties first before remapping resources
2024-06-02 13:27:35 +03:00
Mounir Tohami
62a58c5538
Fix `NOTIFICATION_SORT_CHILDREN` is called twice on startup
2024-06-01 15:49:43 +00:00
Silc Lizard (Tokage) Renew
8a90c5317b
Add blend point check to AnimationNodeBlendSpace2D::_process()
2024-06-01 19:06:32 +09:00
aaronp64
6ecccd6085
Fix RichTextLabel table overlapping with next line
...
When calculating table height, RichTextLabel::_shape_line would increase the height when it reached the end of a complete row, or the final cell of the table. RichTextLabel::_resize_line would only increase the height at the end of a complete row, causing the height to ignore the final row if not all cells were populated. This would cause the final row to overlap with the following line in the RichTextLabel if it was the last visible line in the RichTextLabel, as _resize_line is called when updating scrolling properties.
This change moves the common table size calculations to a separate function to reuse the code between _shape_line and _resize_line, keeping the final cell check that was used in _shape_line.
Fixes #92603
2024-05-31 16:21:17 -04:00
Rémi Verschelde
3e01ef56f9
Merge pull request #92577 from bruvzg/win_preview_resize
...
Update editor `Window` preview position when resizing window.
2024-05-31 14:16:52 +02:00
Rémi Verschelde
07e6d0c702
Merge pull request #92138 from YeldhamDev/scrollcontainer_fixes
...
Fix scrollbar issues in `ScrollContainer`
2024-05-31 14:16:10 +02:00
Rémi Verschelde
9c87e8c7b4
Merge pull request #91953 from AThousandShips/use_normal_sname
...
Use `CoreStringNames::normal` in more places
2024-05-31 14:16:05 +02:00
Rémi Verschelde
b201c087ab
Merge pull request #91950 from AThousandShips/panel_sname
...
[Scene] Add `SceneStringNames::panel`
2024-05-31 14:16:02 +02:00
Rémi Verschelde
ea4db5c3e1
Merge pull request #91949 from AThousandShips/id_pressed_sname
...
[Scene] Add `SceneStringNames::id_pressed`
2024-05-31 14:15:58 +02:00
Flyn San
67b16f261f
Fix code style for generated shader code from ParticleProcessMaterial
...
The results now match what our clang-format config would do.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-05-31 14:12:41 +02:00
Rémi Verschelde
62120c7841
Fix Steam input "crc" errors, and some other Coverity reports of uninitialized scalar variable
...
- Fixes #88630 .
- Fixes #92578 .
2024-05-31 09:55:02 +02:00
bruvzg
5c433cf693
Update editor `Window` preview position when resizing window.
2024-05-31 07:52:46 +03:00
A Thousand Ships
cade5b88d9
Use `CoreStringNames::normal` in more places
2024-05-30 22:57:54 +02:00
A Thousand Ships
926afccbd8
[Scene] Add `SceneStringNames::panel`
2024-05-30 22:54:50 +02:00
A Thousand Ships
755a0efbb6
[Scene] Add `SceneStringNames::id_pressed`
2024-05-30 22:54:04 +02:00
Rémi Verschelde
8adf9e4d97
Merge pull request #92302 from jsjtxietian/debug-shape-null
...
Fix null `debug_shape` being updated when `CollisionObject3D`'s transform changed
2024-05-30 22:38:33 +02:00
Rémi Verschelde
505da68b26
Merge pull request #92565 from bruvzg/rtl_clear_flags
...
[RTL] Clear default justification flags if custom are set.
2024-05-30 22:13:59 +02:00
bruvzg
3a52e0f5fd
[RTL] Clear default justification flags if custom are set and fix typo in the flag name.
2024-05-30 21:23:26 +03:00
kit
af6b96c486
Fix minimap error when moving to the top
2024-05-30 12:06:02 -04:00
kobewi
a345160ab3
Fix wrong usage of parameters_base_path StringName
2024-05-30 12:03:43 +02:00
Rémi Verschelde
adbc4b086b
Merge pull request #92489 from kleonc/control-invalidate-global-transform-before-notifying-resize
...
Invalidate `Control` global transform before notifying about resize / rect change
2024-05-30 11:48:09 +02:00
Rémi Verschelde
c9f249796d
Merge pull request #92317 from bruvzg/emb_decorations
...
Fix `get_position_with_decorations` and `get_size_with_decorations` for embedded windows.
2024-05-30 11:48:02 +02:00
Rémi Verschelde
4cd39c56fb
Merge pull request #92283 from KoBeWi/code_simpleton
...
Automatically use property count in PropertyListHelper
2024-05-30 11:47:58 +02:00
Rémi Verschelde
62f134bd7e
Merge pull request #91724 from KoBeWi/regional_textures
...
Add support for AtlasTexture in `draw_polygon()`
2024-05-30 11:47:47 +02:00
kleonc
22b6f962d9
Invalidate Control global transform before notifying about resize / rect change
2024-05-30 10:10:24 +02:00
Rémi Verschelde
76237c5f9b
Merge pull request #91488 from akien-mga/resource-format-text-remove-obsolete-binary-conversion
...
Remove unused code to convert text resource format to binary
2024-05-29 22:13:52 +02:00
Rémi Verschelde
2c50e87f60
Merge pull request #89470 from jsjtxietian/msdf-uv
...
Fix shader compilation error when enabling texture MSDF and UV1 Triplanar at the same time
2024-05-29 22:13:30 +02:00
Rémi Verschelde
8bf8f41fc0
Merge pull request #92506 from bruvzg/win_pos_preview
...
Fix Window position preview in the editor.
2024-05-29 11:20:17 +02:00
Rémi Verschelde
219af366a5
Merge pull request #92505 from bruvzg/te_ro_margins
...
[TextEdit] Use style margins for selection in read-only mode.
2024-05-29 11:20:14 +02:00
Rémi Verschelde
05442e81c0
Merge pull request #92500 from timothyqiu/stretch-shrink-range
...
Add range hint for `SubViewportContainer.stretch_shrink`
2024-05-29 11:20:11 +02:00
Rémi Verschelde
b60471f3c0
Merge pull request #92463 from Daylily-Zeleen/daylily-zeleen/fix_graph_edit_minimap_connection_line
...
[GraphEdit] Convert to minimap line after getting connection line.
2024-05-29 11:20:04 +02:00
Rémi Verschelde
9bb858c803
Merge pull request #92460 from bruvzg/adlg_cancel_conf
...
Fix duplicate AcceptDialog cancel/confirm events.
2024-05-29 11:20:01 +02:00
Rémi Verschelde
183c634428
Merge pull request #92372 from smix8/navregion2d_debug
...
Improve NavigationRegion2D debug performance
2024-05-29 11:19:51 +02:00
Rémi Verschelde
20ad681da2
Merge pull request #92126 from TokageItLab/reset-dominant
...
Fix Deterministic blending with Dominant/Recessive doesn't have initial value even if there is no Discrete track
2024-05-29 11:19:45 +02:00
bruvzg
19839d9553
Fix Window position preview in the editor.
2024-05-29 11:56:06 +03:00
bruvzg
1d0a8ea828
[TextEdit] Use style margins for selection in read-only mode.
2024-05-29 10:07:32 +03:00
Daylily-Zeleen
28a2fa496f
[GraphEdit] Convert to minimap line after getting connection line.
2024-05-29 12:58:51 +08:00
Haoyu Qiu
fd5118c781
Add range hint for SubViewportContainer.stretch_shrink
2024-05-29 09:03:15 +08:00
smix8
5f5fe737d2
Improve NavigationRegion2D debug performance
...
Improves NavigationRegion2D debug performance by replacing the canvas polygon and line commands with a static mesh.
2024-05-28 19:36:35 +02:00
Rémi Verschelde
43cf4740b9
Merge pull request #92461 from bruvzg/rtl_meta_y
...
[RTL] Use real text/object height instead of line height for meta click/hover detection.
2024-05-28 16:13:26 +02:00
Rémi Verschelde
93596abcf5
Merge pull request #92373 from libklein/fix-caching-wrong-collision-layer-shapes
...
Fix TileSet caching wrong collision layer shapes for shapes comprising several polygons.
2024-05-28 15:49:44 +02:00
Rémi Verschelde
194b1c478d
Merge pull request #92342 from aaronp64/textedit_duplication
...
Remove duplicate if/else code in `TextEdit::_notification`
2024-05-28 15:49:19 +02:00
Rémi Verschelde
a10897ddc0
Merge pull request #92301 from robert-wallis/fix-code-edit-delimiter-crash
...
Fix crash during code editor folding and LSP
2024-05-28 15:49:09 +02:00
Rémi Verschelde
13a32e2753
Merge pull request #92296 from timothyqiu/complete-remove-override
...
Fix theme StyleBox override parameter completion
2024-05-28 15:49:05 +02:00
Rémi Verschelde
cfe80f9fec
Merge pull request #92222 from semensanyok/fix-TextureButton-click-mask-texture-size-ignored-if-missing-normal-texture
...
Fix TextureButton's click mask texture size ignored if missing normal texture
2024-05-28 15:48:58 +02:00
Rémi Verschelde
1e76e83d9f
Merge pull request #91706 from rburing/interpolate_parallax2d
...
Fix Parallax2D physics interpolation
2024-05-28 15:48:45 +02:00
Adriano Orioli
edd2e6e37f
make InstancePlaceholder in charge of node reference resolution
2024-05-28 11:51:49 +02:00
bruvzg
061ad36732
[RTL] Use real text/object height instead of line height for meta click/hover detection.
2024-05-28 11:46:56 +03:00
bruvzg
3e691e026b
Fix duplicate AcceptDialog cancel/confirm events.
2024-05-28 10:46:28 +03:00