Commit Graph

14758 Commits

Author SHA1 Message Date
Mansur Isaev
b37ddfc606 Add tab tooltip text 2024-04-23 08:28:48 +04:00
Rémi Verschelde
7abe0c6014
Merge pull request #90988 from TheSofox/scrolling-signal-fix
Enable `Scrolling` signal when scrolling with middle mouse on `RichTextLabel` or `ScrollContainer`
2024-04-22 22:38:04 +02:00
Rémi Verschelde
98cce21e78
Merge pull request #90921 from smix8/navmesh_bake_warn
Warn that navigation mesh baking from Meshes is bad for runtime performance
2024-04-22 22:18:30 +02:00
Sofox
30356a488f Enabled 'Scrolling' signal when scrolling with middle mouse on RichTextLabel/ScrollContainer 2024-04-22 20:44:03 +01:00
Rémi Verschelde
7529c0bec5
Merge pull request #90994 from aaronp64/tileset_compressed_image
Handle compressed images in `TileSetAtlasSource::_create_padded_image_texture`
2024-04-22 12:53:51 +02:00
Rémi Verschelde
4e391ea81e
Merge pull request #90942 from timothyqiu/toggle-tab-icon
Fix TabContainer not redrawing after toggling tab icon
2024-04-22 12:53:39 +02:00
Rémi Verschelde
bfca90acb7
Merge pull request #90935 from smix8/navdata_append
Add NavigationMeshSourceGeometryData append functions
2024-04-22 12:53:32 +02:00
Rémi Verschelde
659cf339bc
Merge pull request #90931 from aaronfranke/is-ascii-alphabet-char
Rename internal `is_ascii_char` to `is_ascii_alphabet_char`
2024-04-22 12:53:28 +02:00
Rémi Verschelde
7599be9437
Merge pull request #90907 from KoBeWi/null_tile_exception
Don't store TileMapLayer data if empty
2024-04-22 12:53:21 +02:00
Rémi Verschelde
f0db317ea4
Merge pull request #90869 from KoBeWi/babe_wake_up,_new_color_space_just_dropped
Don't translate ColorPicker color labels
2024-04-22 12:53:17 +02:00
Rémi Verschelde
9498753cc4
Merge pull request #90839 from timothyqiu/tree-button
Fix TreeItem button handling
2024-04-22 12:53:09 +02:00
Rémi Verschelde
ab57e8d5a3
Merge pull request #90834 from lyuma/surfacetool_create_from_arrays
Expose `create_from_arrays` in SurfaceTool and cleanup some naming
2024-04-22 12:53:05 +02:00
Rémi Verschelde
bffaa98b13
Merge pull request #90645 from Malcolmnixon/unified-xr-trackers
Rework XR Trackers to have a common ancestor
2024-04-22 12:52:07 +02:00
Rémi Verschelde
f2ee46b3f3
Merge pull request #90518 from bruvzg/rtl_new_delete
[RTL] Rewrite `remove_paragraph` code.
2024-04-22 12:51:59 +02:00
Rémi Verschelde
79557e7d0b
Merge pull request #76725 from smix8/meshbake_blendshapemix_4.x
Add option to bake a mesh from blend shape mix
2024-04-22 12:51:29 +02:00
smix8
b9225f67c8 Warn that navigation mesh baking from Meshes is bad for runtime performance
Warns that navigation mesh baking from Meshes is bad for runtime performance.
2024-04-22 12:49:47 +02:00
bruvzg
0adb55423d
[RTL] Rewrite remove_paragraph code. 2024-04-22 10:32:24 +03:00
aaronp64
ff60f7b6d4 Handle compressed images in TileSetAtlasSource::_create_padded_image_texture
Check for compressed image and decompress if needed

Fixes #78755
2024-04-21 21:36:12 -04:00
smix8
2594c57361 Add NavigationMeshSourceGeometryData append functions
Adds append functions to NavigationMeshSourceGeometryData.
2024-04-21 04:57:05 +02:00
Haoyu Qiu
fd14ba34d1 Fix TabContainer not redrawing after toggling tab icon 2024-04-20 21:08:46 +08:00
Aaron Franke
b1f5e9fe3a
Rename internal is_ascii_char to is_ascii_alphabet_char 2024-04-20 02:36:41 -07:00
Lyuma
a99756a07f Expose create_from_arrays in SurfaceTool and cleanup some naming 2024-04-19 18:45:06 -07:00
kobewi
c7b6cf9f6d Don't store TileMapLayer data if empty 2024-04-19 18:05:48 +02:00
Rémi Verschelde
626c6a0ff8
Merge pull request #90874 from Zylann/fix_graph_frame_crash
Fix crash when GraphFrame `sb_to_draw_panel` is not a StyleBoxFlat
2024-04-19 16:28:24 +02:00
Rémi Verschelde
e34399cdcb
Merge pull request #90861 from aaronp64/audio_stream_player_nan
Check for NaN in `set_volume_db` functions
2024-04-19 16:28:11 +02:00
Rémi Verschelde
a523532d18
Merge pull request #90852 from timothyqiu/padding-always
Fix buttons offset to the right when dialog is at minsize
2024-04-19 16:27:56 +02:00
Rémi Verschelde
1bd6fe81ea
Merge pull request #89538 from CrayolaEater/feature/custom-aabb-gizmos
Add Gizmo to display 3D custom AABB
2024-04-19 16:27:16 +02:00
Rémi Verschelde
42e6f9a9d8
Merge pull request #76140 from jeronimo-schreyer/add_secondary_light_to_3d_resource_importer
Added secondary light to 3D Advanced Import Settings
2024-04-19 16:26:42 +02:00
Malcolm Nixon
823ae7b3fa Rework XR Trackers to have a common ancestor. Allow creation of XRNode3D to drive node positions and visibility. 2024-04-18 20:04:01 -04:00
Bogdan Inculet
8caa1b8783 Add Gizmo to display 3D custom AABB 2024-04-19 02:31:30 +03:00
Marc Gilleron
f3e6d23405 Fix crash when GraphFrame sb_to_draw_panel is not a StyleBoxFlat 2024-04-18 21:33:02 +01:00
kobewi
9ab3ff04ac Don't translate ColorPicker color labels 2024-04-18 20:26:56 +02:00
aaronp64
58931c073d Check for NaN in set_volume_db functions
Added check in AudioStreamPlayer, AudioStreamPlayer2D, and AudioStreamPlayer3D set_volume_db functions to prevent setting volume to NaN, and give an error.  Using NaN for volume and playing the AudioStreamPlayer could prevent all audio from playing, even from other AudioStreamPlayers.

Fixes #88133
2024-04-18 11:28:57 -04:00
Haoyu Qiu
b2d5a06828 Fix buttons offset to the right when dialog is at minsize 2024-04-18 21:12:34 +08:00
Haoyu Qiu
c78e9c3fbd Fix TreeItem button handling
- Fix incorrect tooltip and `get_button_id_at_position()` when column
  title is visible and when RTL layout is used
- Take `button_margin`, `h_separation`, and `item_margin` into account
2024-04-18 18:51:36 +08:00
Rémi Verschelde
2543d192c3
Merge pull request #90842 from timothyqiu/revert-79792
Revert "Correctly display tooltips for buttons in Tree when they overlap cell content
2024-04-18 12:25:08 +02:00
Rémi Verschelde
a202027efe
Merge pull request #90838 from bruvzg/btn_theme_rounding
[Button] Fix theme elements size rounding errors not keeping sufficient space for the text.
2024-04-18 12:25:05 +02:00
Rémi Verschelde
2d884ba70c
Merge pull request #90797 from Geometror/vsnode-comment-compat
[Compatibility] Add stub for VisualShaderNodeComment
2024-04-18 12:24:50 +02:00
Rémi Verschelde
be9b298317
Merge pull request #90780 from lyuma/skeletonik3d_compat
Add SkeletonIK3D `get`/`set_interpolation` compat from #87888
2024-04-18 12:24:44 +02:00
Rémi Verschelde
6a70a69d1f
Merge pull request #90702 from permelin/fix-lightmap-warnings
LightmapGI: Reduce warnings and increase probe accuracy
2024-04-18 12:24:37 +02:00
Rémi Verschelde
d2ec3714d7
Merge pull request #90584 from BMagnu/fix_global_rotation_matrix
Fix `Node3D.set_global_rotation()` resetting node scale.
2024-04-18 12:24:27 +02:00
Rémi Verschelde
0dfb48e58d
Merge pull request #89693 from Calinou/dialogs-add-button-minimum-size
Add minimum width/height to dialog buttons
2024-04-18 12:24:20 +02:00
Rémi Verschelde
043ca7c63c
Merge pull request #88306 from KoBeWi/PropertyListHelper_will_come_for_you
Add PropertyListHelper in all simple cases
2024-04-18 12:24:17 +02:00
Rémi Verschelde
3a88373a4c
Merge pull request #86553 from Koyper/fix_popup_panel_content_scaling
Fix non-embedded tooltips, popups and dialogs resizing to match Viewport content scale factors != 1.0
2024-04-18 12:24:11 +02:00
Haoyu Qiu
00f0043227 Revert "Correctly display tooltips for buttons in Tree when they overlap cell content"
This reverts commit 8278a5f274.
2024-04-18 17:35:26 +08:00
Lyuma
cb7ef2b8de Add SkeletonIK3D get/set_interpolation compat from #87888 2024-04-18 01:49:12 -07:00
bruvzg
45bde2b5b0
[Button] Fix theme elements size rounding errors not keeping sufficient space for the text. 2024-04-18 11:48:46 +03:00
Hendrik Brucker
735c45dc8e [Compatibility] Add stub for VisualShaderNodeComment 2024-04-18 02:39:29 +02:00
Hugo Locurcio
1e8526659c
Add minimum width/height to dialog buttons
This makes buttons with short texts such as "OK" or "Close"
easier to click, especially on a touchscreen.

This is exposed to projects via `buttons_min_width` and `buttons_min_height`
theme items in AcceptDialog (and therefore ConfirmationDialog and FileDialog),
with the default values being 0 to preserve compatibility with existing projects.
2024-04-17 23:48:05 +02:00
Rémi Verschelde
54ba8d6882
Merge pull request #90810 from Arnklit/particles_processing_ring_shape_emission_axis_fix
Fix shader crash on zero vector and negative x vector in particles processing
2024-04-17 20:26:50 +02:00