Commit Graph

15238 Commits

Author SHA1 Message Date
Mark DiBarry b83359518f Remove unused assignment in Parallax2D 2024-07-07 10:44:13 -04:00
Mark DiBarry 8888e9216f Add pixel snap for Parallax2D 2024-07-07 10:09:15 -04:00
Rémi Verschelde 92880e113a
Merge pull request #93999 from Geometror/fix-slot-change-redraw
Fix connections not updated after GraphNode slot update
2024-07-07 12:38:50 +02:00
KernRat 3f4222bad4
Fixed RichTextLabel + ui_down scrolling too far 2024-07-06 16:58:33 +02:00
Hendrik Brucker 104c77cd86 Fix connections not updated after GraphNode slot update 2024-07-06 14:33:34 +02:00
Silc Lizard (Tokage) Renew 59667f8ea2 Fix property type of Sprite3D `frame_coords` to Vector2i from Vector2 2024-07-06 05:36:45 +09:00
Rémi Verschelde b97110cd30
Merge pull request #93908 from Geometror/ge-resized-fix
Fix `Control` nodes emitting unnecessary `resized` signals
2024-07-05 16:38:10 +02:00
Rémi Verschelde f1749c691f
Merge pull request #93968 from bruvzg/font_prev_update
[Editor] Update font preview directly instead of invalidating property list.
2024-07-05 15:07:50 +02:00
Rémi Verschelde 1704af01b1
Merge pull request #93959 from kitbdev/fix-drop-on-selection
Fix dropping on selection in script editor
2024-07-05 15:07:44 +02:00
bruvzg 847aadee02
[Editor] Update font preview directly instead of invalidating property list. 2024-07-05 12:48:39 +03:00
kit fc16465d17 Fix dropping on selection in script editor 2024-07-04 19:42:38 -04:00
Hendrik Brucker 1c47fd7089 Fix Control nodes emitting unnecessary resized signals 2024-07-05 01:41:21 +02:00
Rémi Verschelde 5c84398c15
Merge pull request #93903 from Geometror/vs-fix-frame-edscale
Fix some VisualShader features for high DPI displays/custom UI scales
2024-07-04 23:27:03 +02:00
Hendrik Brucker b871794591 Fix `GraphFrame` autoshrink with high DPI displays/custom UI scales 2024-07-04 19:08:06 +02:00
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
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