Commit Graph

63300 Commits

Author SHA1 Message Date
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 1ebdacb4b0
Merge pull request #90835 from bruvzg/input_dup
Fix input map shortcuts incorrectly edited on cancel.
2024-04-18 12:25:02 +02:00
Rémi Verschelde c1efd37e3b
Merge pull request #90829 from timothyqiu/remove-sub-color
Fix folder color not cleared for removed subfolders
2024-04-18 12:24:59 +02:00
Rémi Verschelde 9c05ff2952
Merge pull request #90828 from clayjohn/RD-draw_list_depth
Revert change to default depth clear value in `draw_list_begin()`
2024-04-18 12:24:56 +02:00
Rémi Verschelde f6ba06a8d7
Merge pull request #90815 from KoBeWi/2_objects_1_editor
Avoid double editing when clicking AnimatedSprite
2024-04-18 12:24:53 +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 c295f18955
Merge pull request #90789 from lyuma/fix_skeleton_root
Fix FBX and glTF when root nodes are skeleton bones
2024-04-18 12:24:47 +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 d06cb2e57d
Merge pull request #90761 from dsnopek/openxr-composition-layers-experimental
Mark `OpenXRCompositionLayer` and its children as experimental
2024-04-18 12:24:40 +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 866f2c56f7
Merge pull request #90674 from RadiantUwU/change_stuff
Implement `Object.remove_user_signal(signal: StringName)`
2024-04-18 12:24:34 +02:00
Rémi Verschelde 1a89b60549
Merge pull request #90651 from Muller-Castro/folder-color
Fix folder colors not present in editor dir dialog
2024-04-18 12:24:30 +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 35369b8d28
Merge pull request #90507 from Calinou/tests-disabled-error-on-test-cli-argument
Exit with an error if using `--test` on binary without unit tests compiled
2024-04-18 12:24:24 +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
Radiant e263b11cdd Implement remove_user_signal()
Co-authored-by: Timothe Bonhoure <tbonhoure@ymail.Com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-04-18 11:22:59 +03:00
Paul Joannon 1627287586
Change order of operation for C# types reloading
We now deserialize callables before reloading property states, in case a property is doing anything with the callable in its getter and/or setter.
2024-04-18 09:38:58 +02:00
bruvzg 68e4ead9ad
Fix input map shortcuts incorrectly edited on cancel. 2024-04-18 08:22:39 +03:00
Lyuma d3706488d9 Fix FBX and glTF when root nodes are skeleton bones
Set p_scene_parent to the skeleton to guarantee BoneAttachment3D nodes are added as a child of the active skeleton.
Use get_owner() to go all the way up when calculating the root node in generate_scene
2024-04-17 22:10:05 -07:00
Zi Ye fbfda46ffa Added tokenized search support to Quick Open dialog and FileSystem filter. 2024-04-17 21:12:55 -05:00
clayjohn eb62c5b27f Revert change to default depth clear value in draw_list_begin 2024-04-17 19:08:22 -07:00
Haoyu Qiu 4efaeefaec Fix folder color not cleared for removed subfolders 2024-04-18 10:08:20 +08:00
Hendrik Brucker 735c45dc8e [Compatibility] Add stub for VisualShaderNodeComment 2024-04-18 02:39:29 +02:00
clayjohn adfc9ccc44 Use a src rect for copying from screen with CanvasGroup in the mobile backend 2024-04-17 15:19:20 -07: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 3b1806182a
Merge pull request #90814 from Repiteo/scons/env_base-to-env
SCons: Convert `env_base` to `env`
2024-04-17 20:26:53 +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
Rémi Verschelde 26d8ae0849
Merge pull request #90809 from RandomShaper/fixup_wtp_yield
WorkerThreadPool: Polish yielding (fix corner case, remove misleading warning)
2024-04-17 20:26:46 +02:00
Rémi Verschelde 75e772c528
Merge pull request #90807 from KoBeWi/creating_this_thing_is_strictly_prohibited_in_13_states
Disable Create button for abstract classes
2024-04-17 20:26:43 +02:00
Rémi Verschelde 8834f84383
Merge pull request #90804 from akien-mga/disable-NavigationServer3D-async-bake-test
Tests: Disable NavigationServer3D async bake test with race condition
2024-04-17 20:26:40 +02:00
Rémi Verschelde 61c967b3ab
Merge pull request #90800 from ydeltastar/fix-raycast3d-debug-draw
Fix `RayCast3D`'s debug draw transform not updating
2024-04-17 20:26:37 +02:00
Rémi Verschelde acd3d2497f
Merge pull request #90791 from timothyqiu/see-you-again
Fix potential infinite loop when using global menu
2024-04-17 20:26:34 +02:00
Rémi Verschelde 8293aac75c
Merge pull request #90787 from Chaosus/vs_fix_port_bug
Fix incorrect behavior at expanding an output port in visual shader node
2024-04-17 20:26:31 +02:00
Rémi Verschelde 5a502a6001
Merge pull request #90784 from KoBeWi/progressive_progress
Don't show scene group progress for 1 scene
2024-04-17 20:26:27 +02:00
Rémi Verschelde ab24edca4f
Merge pull request #90680 from jsjtxietian/skip-.godot
Fix editor's file explorer will show directories that should be skipped
2024-04-17 20:26:24 +02:00
Rémi Verschelde c50e80b481
Merge pull request #90653 from ajreckof/Fix-going-forward-backward-in-editor-selection-history-
Fix going forward backward in editor selection history.
2024-04-17 20:26:20 +02:00
Rémi Verschelde 578fc2e81c
Merge pull request #88384 from oxi-dev0/fix-unshaded-debug
Fix unshaded debug draw mode for LightmapGI
2024-04-17 20:26:16 +02:00
kobewi e36301e418 Avoid double editing when clicking AnimatedSprite 2024-04-17 19:51:42 +02:00
Thaddeus Crews 41fee42c40
SCons: Convert `env_base` to `env` 2024-04-17 12:26:20 -05:00
kobewi c9407931b8 Disable Create button for abstract classes 2024-04-17 18:48:36 +02:00
Kasper Frandsen f8d08a8376 fix: avoid shader crash on null vector and negative x vector 2024-04-17 17:33:30 +01:00
Pedro J. Estébanez 9653bcaa43 WorkerThreadPool: Polish yielding (fix corner case, remove misleading warning) 2024-04-17 18:32:14 +02:00
Fredia Huya-Kouadio 1cc935fa6c Fix issue causing the `copyAndRename*` task to fail on occasions on Windows machines
Gradle automatically handles up-to-date checks for output files and directories. This behavior sometimes causes the `copyAndRename*` task to fail on Windows machines when gradle tries to check on existing files in the output directories it doesn't have access to.
To fix the issue, we disable this gradle behavior following the instructions in https://docs.gradle.org/8.2/userguide/incremental_build.html#sec:disable-state-tracking
2024-04-17 08:38:32 -07:00