Commit Graph

15623 Commits

Author SHA1 Message Date
Rémi Verschelde e72a70de8e
Merge pull request #87150 from demolke/bones
Add per-bone meta to Skeleton3D
2024-09-17 09:17:35 +02:00
Haoyu Qiu c5d147b9b5 Allow configuring which translation domain Object.tr uses 2024-09-17 13:09:44 +08:00
David Snopek b1871cdabf Fix project manager stealing focus on i3 2024-09-16 16:55:57 -05:00
demolke 0468bea899 Add per-bone meta to Skeleton3D
Individual bones are not represented as `Node`s in Godot, in order to support meta functionality for them the skeleton has to carry the information similarly to how other per-bone properties are handled.
- Also adds support for GLTF import/export
2024-09-16 16:26:15 +02:00
Raffaele Picca 1df0159b36 Added a more detailed error message when instatiating a scene with missing export properties. 2024-09-16 16:08:55 +02:00
Rémi Verschelde ab55a40f0c
Merge pull request #97070 from KoBeWi/snaming_ur_inputs
Use `SNAME` for `ui` actions in Viewport
2024-09-16 15:25:47 +02:00
Rémi Verschelde 6311dd2e4c
Merge pull request #94684 from Musicgun47/soft-body-overhaul-ui
Fix `SoftBody3D` pinned points interaction
2024-09-16 15:25:37 +02:00
kobewi d805f38dba Use SNAME for ui actions in Viewport 2024-09-16 14:09:26 +02:00
Joel Fortier a58ae8e1c6 Fixed SoftBody3D handles not being clickable in 3D Editor Viewport
Fix erratic behaviour when modifying pinned_points via inspector
2024-09-16 21:30:31 +09:30
Rémi Verschelde a90660f5e2
Merge pull request #97018 from TokageItLab/add-quart-anim-cap
Add missing "Quad" capture TransitionType enum hint
2024-09-16 13:35:51 +02:00
Rémi Verschelde e516b059e0
Merge pull request #96996 from WhalesState/vslider
Fix `VSlider` grabber area.
2024-09-16 13:35:42 +02:00
Rémi Verschelde 391849d232
Merge pull request #96867 from L2750558108/remove-gui-key-event-accepted-shit
Remove useless `Viewport::gui.key_input_accepted`
2024-09-16 13:35:13 +02:00
Rémi Verschelde 8ebfd89359
Merge pull request #96024 from Ryan-000/expose_get_rpc_config
Expose `get_rpc_config` and `get_node_rpc_config`
2024-09-16 13:34:34 +02:00
Rémi Verschelde ac80ba71e2
Merge pull request #93500 from anniryynanen/multi-press
Improve button behavior when multiple mouse buttons are used at the same time
2024-09-16 13:34:15 +02:00
Anni Ryynänen 2033510a65
Improve button behavior when multiple mouse buttons are used at the same time
- To emit `pressed`, buttons require that the press was initiated while hovering.
- Controls can't grab focus from a mouse click if they're not hovered.
- Hovers are updated both before and after a handled mouse button event.
2024-09-15 19:06:10 +03:00
Koyper f7005deb1e Improvements to SplitContainer including a drag bar background StyleBox. 2024-09-14 19:35:51 -05:00
Markus Sauermann 60aaa017ff Enable Drag and Drop for SubViewports and Windows
Make Drag and Drop an application-wide operation.
This allows do drop on Controls in other Viewports/Windows.

In order to achieve this, `Viewport::_update_mouse_over` is adjusted to
remember the Control, that the mouse is over (possibly within nested
viewports). This Control is used as a basis for the Drop-operation, which
replaces the previous algorithm, which was only aware of the topmost
Viewport.

Also now all nodes in the SceneTree are notified about the Drag and Drop
operation, with the exception of SubViewports that are not children of
SubViewportContainers.
2024-09-15 01:06:02 +02:00
Silc Lizard (Tokage) Renew 8d30ccd067 Add missing "Quad" capture TransitionType enum hint 2024-09-15 06:42:04 +09:00
Silc Lizard (Tokage) Renew 2b3cf2451f Fix syncing PhysicalBone internal poses individually 2024-09-15 01:46:12 +09:00
Mounir Tohami 701188fd1e Fix `VSlider` grabber area. 2024-09-14 12:40:41 +00:00
Haoyu Qiu 504e0656bb Add TextEdit option to prevent copying without a selection 2024-09-14 09:39:36 +08:00
2750558108 ccc6e5d25f Remove Useless Viewport::gui.key_input_accepted 2024-09-13 20:52:05 +08:00
Rémi Verschelde 84f1fe781c
Merge pull request #96910 from zaevi/improve_GraphEdit_dot_grid
GraphEdit: Improve dotted pattern grid performance
2024-09-13 11:22:05 +02:00
Rémi Verschelde f2ce94fdde
Merge pull request #96885 from LuizZak/grow_mask_sqrt_fix
Avoid expensive sqrt operation in hot loop of `BitMap.grow_mask`
2024-09-13 11:22:01 +02:00
Rémi Verschelde b60e16ff62
Merge pull request #96592 from bruvzg/alt_u
Add Control+Shift+U (rebindable) action for Unicode input, show hex as it is entered.
2024-09-13 11:21:51 +02:00
Zae 84102af090 GraphEdit: Improve dotted pattern grid performance 2024-09-12 23:58:42 +08:00
Luiz Fernando Silva 293cc2126e Avoid expensive sqrt operation in hot loop of BitMap.grow_mask 2024-09-12 11:04:57 -03:00
kobewi b36bebc6da Add SCROLL_MODE_RESERVE to ScrollContainer 2024-09-12 14:02:01 +02:00
bruvzg b776f55bcb
Add Control+Shift+U (rebindabe) action for Unicode input, show hex as it is entered. 2024-09-12 11:47:24 +03:00
Rémi Verschelde 83d54ab2ad
Merge pull request #96708 from bruvzg/lbl3d_os
[Label3D] Fix updating labels in subvieports on oversampling change.
2024-09-12 10:28:52 +02:00
Rémi Verschelde cc52112144
Merge pull request #96643 from bruvzg/fs_links
[FileSystem Dock] Add symlink indicator and tooltip.
2024-09-12 10:28:44 +02:00
bruvzg 0a3a483ca7 Fix native file dialog showing on loading project in editor. 2024-09-12 10:49:50 +03:00
Rémi Verschelde b214aa8faf
Merge pull request #96880 from zeux/fix-vcache-nontri
Fix a crash in `ImporterMesh::create_shadow_mesh` for non-triangle surfaces
2024-09-12 09:26:01 +02:00
Rémi Verschelde ae50e9ef7b
Merge pull request #96878 from bruvzg/rtl_font_reload
[RTL] Fix font not updated for some spans.
2024-09-12 09:25:57 +02:00
Rémi Verschelde b998cb1335
Merge pull request #96768 from DeeJayLSP/wav-end
WAV: Fix one frame overflow at the end
2024-09-12 09:25:31 +02:00
Rémi Verschelde b9b07d619f
Merge pull request #94783 from TokageItLab/validate-gltf-anim-name
Add validation to glTF importer for Blendshape and Animation
2024-09-12 09:25:10 +02:00
Rémi Verschelde 33dd105119
Merge pull request #96305 from Jordyfel/scroll-container-min-size
Fix scroll container min size calculation
2024-09-12 09:17:47 +02:00
DeeJayLSP 147accdf74 WAV: Fix one frame overflow at the end 2024-09-11 21:57:14 -03:00
Arseny Kapoulkine 7d7b43bca2 Fix a crash in ImporterMesh::create_shadow_mesh for non-triangle surfaces
optimize_vertex_cache_func assumes the input is a triangle mesh; when an
imported mesh contains points/lines/triangle strips, this code should be
disabled.
2024-09-11 13:18:58 -07:00
bruvzg e517eaf053
[RTL] Fix font not updated for some spans. 2024-09-11 23:02:00 +03:00
Rémi Verschelde 3cad849b1f
Merge pull request #96586 from rune-scape/fix-empty-stringname-hash
StringName: Fix empty hash
2024-09-11 12:34:56 +02:00
Rémi Verschelde b0328993e6
Merge pull request #87674 from WhalesState/line-edit
Prevent `LineEdit` focus loss when text is submitted or rejected and allow selecting without editing with arrow keys.
2024-09-11 12:34:31 +02:00
Rémi Verschelde 6162312f22
Merge pull request #96140 from xiongyaohua/path_follow_3d_update_transform_immediately
PathFollow3D update transform immediately by default
2024-09-11 12:34:25 +02:00
Jordyfel 6d516a2609 Fix scroll container min size calculation 2024-09-10 17:25:34 +03:00
Mounir Tohami c36f466a4c Prevent `LineEdit` from losing focus when text is submitted or rejected. 2024-09-10 13:43:31 +00:00
Yaohua Xiong 51b8b74d4b Do not defer PathFollow3D transform updates
Co-authored-by: Yaohua Xiong <xiongyaohua@gmail.com>
2024-09-10 10:35:48 +02:00
bruvzg 3009073b39 [Resource Loader] Do not check property type for non registered properties. 2024-09-10 11:27:16 +03:00
rune-scape 0dde931bc9 StringName: Fix empty hash
+Fixed compat hashes
2024-09-09 13:30:02 -07:00
Rémi Verschelde 493f3edce7
Merge pull request #96572 from adamscott/fix-samples-leak
Fix leak when using audio samples instead of streams
2024-09-09 17:51:42 +02:00
Rémi Verschelde 20115dc36f
Merge pull request #96706 from bruvzg/rtl_process
[RTL] Fix internal process incorrectly disabled on appending text.
2024-09-08 23:22:19 +02:00
Rémi Verschelde 325c1cffc4
Merge pull request #96232 from AThousandShips/tree_navigate_row
[Tree] Improve navigation with row select mode
2024-09-08 23:21:44 +02:00
Rémi Verschelde 7a4c03418a
Merge pull request #96144 from SaracenOne/reimport_owner_instance
Make reimported models reimport their owner.
2024-09-08 23:21:32 +02:00
Rémi Verschelde 0e307f8647
Merge pull request #96017 from DeeJayLSP/wav-vec
AudioStream(Playback)WAV: Use LocalVectors instead of pointers
2024-09-08 23:21:23 +02:00
Rémi Verschelde 5216edeb14
Merge pull request #95500 from tetrapod00/zero-separation-focus-neighbor
Fix wrong focus neighbor for grid-aligned 0 separation controls
2024-09-08 23:21:18 +02:00
Rémi Verschelde 49b725ddcc
Merge pull request #93353 from AThousandShips/config_warning_fix
Fix super call in various `get_configuration_warnings` methods
2024-09-08 23:21:09 +02:00
bruvzg ccf837b75e
[RTL] Fix internal process incorrectly disabled on appending text. 2024-09-08 18:07:55 +03:00
bruvzg bdd5117086
[Label3D] Fix updating labels in subvieports on oversampling change. 2024-09-08 15:11:13 +03:00
DeeJayLSP d5ad6dd699 AudioStream(Playback)WAV: Use LocalVectors instead of pointers 2024-09-08 02:32:59 -03:00
Saracen 86ce15fb7a Make reimported models reimport their owner.
Changes the behaviour of the scene hot-reload system
so that if the scene which needs to be reimported is
owned by another instance, reload that instance instead.
2024-09-08 03:12:47 +01:00
tetrapod00 c5ef2e2112 Add tie-breaking to find focus neighbor in Control 2024-09-06 18:07:48 -07:00
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 da4f5fb953
[FileSystem Dock] Add symlink indicator and tooltip. 2024-09-06 14:55:07 +03: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
A Thousand Ships 9dc231366d
Fix super call in various `get_configuration_warnings` methods 2024-09-05 16:08:35 +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
Ryan 8835f326b1 Expose get_rpc_config and get_node_rpc_config
add documentation

Update doc/classes/Node.xml

change name of get_node_rpc_config to get_rpc_config

Co-Authored-By: moondog <159832633+dog-on-moon@users.noreply.github.com>
Co-Authored-By: Micky <66727710+Mickeon@users.noreply.github.com>
2024-09-04 15:45:22 -04:00
Adam Scott d3ddce6b88
Fix leak when using audio samples instead of streams 2024-09-04 12:56:03 -04: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