Commit Graph

15507 Commits

Author SHA1 Message Date
Rémi Verschelde a6db33ef89
Merge pull request #96614 from graydoubt/feat/cancel_drag
Expose `Viewport.gui_cancel_drag()` to GDScript as a counterpart to `Control.force_drag()`
2024-09-06 22:38:37 +02:00
Rémi Verschelde 6815c47869
Merge pull request #96507 from bruvzg/menu_index
[MenuBar] Make menu start index more consistent.
2024-09-06 22:38:33 +02:00
Rémi Verschelde aa07333abe
Merge pull request #96114 from BlueCube3310/sh-lightmap-packing
LightmapGI: Pack L1 SH coefficients for directional lightmaps
2024-09-06 22:38:29 +02:00
Rémi Verschelde d000faa559
Merge pull request #92962 from bruvzg/rtl_bbcode_parsing
[RTL] Improve BBCode parsing.
2024-09-06 22:38:17 +02:00
Rémi Verschelde 0b4ae20156
Merge pull request #78656 from Repiteo/typed-dictionary
Implement typed dictionaries
2024-09-06 22:38:13 +02:00
bruvzg b59fd28dec
[RTL] Improve BBCode parsing. 2024-09-06 13:50:47 +03:00
bruvzg 3da43ebec4
[MenuBar] Make menu start index more consistent. 2024-09-06 13:21:01 +03:00
graydoubt e589c5baf3 Expose Viewport.gui_cancel_drag() to GDScript as a counterpart to Control.force_drag() 2024-09-06 06:20:22 -04:00
Rémi Verschelde c2d81b0b98
Merge pull request #96265 from bruvzg/rtl_dc4
Account for dropcap when calculating paragraph size, fix duplicate last char when using dropcap with autowrap off.
2024-09-06 11:11:09 +02:00
Rémi Verschelde 5abb206040
Merge pull request #96247 from bruvzg/rtl_draw_order
[RTL] Move image/table draw to the `DRAW_STEP_TEXT`
2024-09-06 11:11:05 +02:00
Rémi Verschelde c01667abc0
Merge pull request #96285 from kleonc/style_box_flat_fix_rects_skewing_center
Fix `StyleBoxFlat` rectangles skewing independently
2024-09-06 10:09:28 +02:00
Rémi Verschelde 1476578a5c
Merge pull request #96276 from KoBeWi/deprecated_on_arrival
Deprecate `set_min_buttons_width_from_icons`
2024-09-06 10:09:24 +02:00
Rémi Verschelde c82c441ddd
Merge pull request #92865 from rune-scape/rune-optimal-code-edit
CodeEdit: Improve render time by 2x
2024-09-06 10:09:12 +02:00
BlueCube3310 a89f4fa5a9 LightmapGI: Pack L1 SH coefficients for directional lightmaps 2024-09-05 22:46:58 +02:00
Rémi Verschelde a466519603
Merge pull request #96607 from smix8/navmesh_2d_disco_party
Fix 2D debug navigation flickering with tile maps
2024-09-05 17:44:44 +02:00
Rémi Verschelde af0058c7e6
Merge pull request #96587 from Malcolmnixon/check-openxr-hand-tracking
Warn if XRHandModifier3D used with OpenXR and hand-tracking disabled
2024-09-05 17:44:37 +02:00
kobewi bde64c4633 Deprecate set_min_buttons_width_from_icons 2024-09-05 15:43:54 +02:00
smix8 5bedaf77f7 Fix 2D debug navigation flickering with tile maps
Both the tile map layers and the debug navigation canvas items did fight for the same z order causing a lot of flickering in certain situations.
2024-09-05 15:11:29 +02:00
Malcolm Nixon 7c300d8408 Add warning if XRHandModifier3D used with OpenXR and hand-tracking isn't enabled. 2024-09-05 00:14:55 -04:00
rune-scape 60fa3ec4d4 CodeEdit: improve render speed 2024-09-04 20:51:09 -07:00
kobewi d25e36b015 Fix AnimationLibrary loading 2024-09-05 00:07:23 +02:00
Rémi Verschelde a1012058dd
Merge pull request #94886 from gturri/dev
Add error checks for bad configuration in `PathFollow2D/3D` `set_progress_ratio`
2024-09-04 18:55:24 +02:00
Rémi Verschelde db6af2ecc6
Merge pull request #85018 from smix8/skinnedmeshbake
Add option to bake a mesh from animated skeleton pose
2024-09-04 18:55:16 +02:00
Guillaume Turri ea9dff87ae
Add error checks for bad configuration in `PathFollow2D/3D` `set_progress_ratio`
When a PathFollow is badly configured it's possible to have code that
call get_progress_ratio just after set_progress_ratio does not return
the value just set, which may be confusing for developer (ie that
    myPathFollow2D.set_progress_ratio(0.5)
    myPathFollow2D.get_progress_ratio()
does not return 0.5)

This commit makes ensures the developer has useful error messages in
such case, to make it easier to troubleshot it.
2024-09-04 18:07:49 +02:00
Thaddeus Crews 9853a69144
Implement typed dictionaries 2024-09-04 10:27:26 -05:00
Rémi Verschelde f69de1c522
Merge pull request #96038 from kitbdev/fix-line-edit-caret-word-mode
Fix LineEdit word mode when there are no more words
2024-09-04 17:12:06 +02:00
Rémi Verschelde 3cc99d3e31
Merge pull request #95983 from bruvzg/win_fd_opt_fix
[Windows] Emit native file dialog callback from event loop, fix selected options not saved.
2024-09-04 17:11:57 +02:00
smix8 a99a1699aa Add option to bake a mesh from animated skeleton pose
Adds option to bake a mesh from animated skeleton  pose.
2024-09-03 22:16:05 +02:00
Rémi Verschelde e2dd56bea7
Merge pull request #95902 from kitbdev/remove-forced-mouse-focus
Clean up Viewport's `forced_mouse_focus`
2024-09-03 17:38:17 +02:00
Rémi Verschelde 13a90e938f
Merge pull request #70096 from rune-scape/stringname-dict
StringName Dictionary keys
2024-09-03 17:38:06 +02:00
Rémi Verschelde d15de6f264
Merge pull request #96292 from AThousandShips/null_check_ref_fix
Cleanup of raw `nullptr` checks with `Ref`
2024-09-03 16:13:55 +02:00
Rémi Verschelde ec7fc97972
Merge pull request #93029 from groud/multiple_occlusion_polygons
Implement multiple occlusion polygons within each TileSet occlusion layer
2024-09-03 16:13:36 +02:00
Gilles Roudière d75c5ec7ba Implement multiple occlusion polygons within each TileSet occlusion layer 2024-09-03 15:38:51 +02:00
aaronp64 7a9acd5aca Fix SubViewport/AudioStreamPlayer2D crash
Updated Viewport destructor to remove itself from World2D, to avoid World2D keeping invalid pointers.
2024-09-03 08:27:47 -04:00
Rémi Verschelde 9dbf9aa4dc
Merge pull request #96511 from lawnjelly/fix_namespace_conflict
Fix SCU global namespace conflict in `resource_format_text.cpp`
2024-09-03 11:44:09 +02:00
Rémi Verschelde c038995707
Merge pull request #96460 from bruvzg/rtl_para_breaks
[RTL] Do not add final newline to the paragraph context.
2024-09-03 11:44:02 +02:00
Rémi Verschelde 3c58b64b07
Merge pull request #96270 from TokageItLab/physical-bone-update
Fix physical bone update without simulating
2024-09-03 11:43:39 +02:00
Rémi Verschelde 168676a7c5
Merge pull request #96000 from kerstop/deadzone_slider_fix
Fix deadzone slider not working correctly
2024-09-03 11:43:20 +02:00
Rémi Verschelde a2b64ed544
Merge pull request #95961 from RadiantUwU/fix-mesh-recursion
Fix shadow mesh recursion.
2024-09-03 11:43:16 +02:00
Rémi Verschelde 5633080147
Merge pull request #93624 from EAinsley/complete#3942
Add duplicate animation for SpriteFrames
2024-09-03 11:43:00 +02:00
lawnjelly 543ab3da11 Fix SCU global namespace conflict in `resource_format_text.cpp`
`FORMAT_VERSION` is used in multiple places in the codebase, and #defining it was causing conflicts.
2024-09-03 07:30:56 +01:00
Rémi Verschelde 68a04bbf9a
Merge pull request #96142 from timothyqiu/one-signal-to-invalidate-them-all
Fix collapsing `TreeItem` not updating horizontal scrollbar
2024-09-02 18:08:07 +02:00
Rémi Verschelde 160e3b3cf4
Merge pull request #91973 from Arnklit/particle-cylinder-cone-emission-shape
Add cone angle control to particle emission ring shape
2024-09-02 18:07:55 +02:00
Kasper Arnklit Frandsen 40b9516724 Add cone angle control to particle emission ring shape 2024-09-02 14:35:51 +02:00
Rémi Verschelde 25fc31638b
Merge pull request #92838 from Nazarwadim/small_animation_optimization
Optimize AnimationMixer blend process
2024-09-02 12:12:46 +02:00
bruvzg 02113dff83
[RTL] Do not add final newline to the paragraph context. 2024-09-02 11:11:37 +03:00
Ainsley Su 57bc1d7574 Add duplicate animation
Co-authored-by: Nonunknown <nonunknown777@gmail.com>
2024-09-01 17:00:47 +02:00
Radiant 70860aafd8 Fix shadow mesh recursion. 2024-08-31 22:31:43 +03:00
A Thousand Ships 194bdde947
Cleanup of raw `nullptr` checks with `Ref`
Using `is_valid/null` over checks with `nullptr` or `ERR_FAIL_NULL` etc.
2024-08-31 15:01:09 +02:00
Rémi Verschelde 77bc419071
Merge pull request #96174 from DeeJayLSP/wav-docs
WAV stream/importer: Improve compression/loop names and descriptions
2024-08-30 23:37:50 +02:00