1
0
Fork 0
Commit Graph

17206 Commits

Author SHA1 Message Date
Thaddeus Crews 028a7d3776
Merge pull request #89530 from dalexeev/ed-allow-rename-theme-types
Editor: Add ability to rename theme types
2025-06-02 18:51:40 -05:00
Thaddeus Crews e77b244bf3
Merge pull request #106921 from Calinou/fontfile-clamp-face-index
Clamp FontFile Face Index to a valid range in the inspector
2025-06-02 18:51:34 -05:00
Thaddeus Crews 0e4bc43cdf
Merge pull request #107041 from lawnjelly/fti_scene_tree_fix_forced
`SceneTreeFTI` - Fix `identity_xform` flag getting out of sync
2025-06-02 18:51:30 -05:00
Thaddeus Crews 3f24d9bf6f
Merge pull request #106903 from KoBeWi/cache_locality_will_thank_you
Remove redundant `data.inside_tree`
2025-06-02 18:51:27 -05:00
Thaddeus Crews 46800458c4
Merge pull request #106516 from lodetrick/tabbar-margins
Fix TabContainer not respecting `tabbar_background`'s margins
2025-06-02 18:51:25 -05:00
Thaddeus Crews 04924c6e71
Merge pull request #106899 from roughbits01/line-edit-extra-queue-draw
Remove redundant `queue_redraw()` & fix typo
2025-06-02 18:51:24 -05:00
lawnjelly e729fa7c54 `SceneTreeFTI` - fix identity_xform flag getting out of sync
This could cause incorrect rendered xform for one frame.
2025-06-02 11:17:23 +01:00
Rémi Verschelde 626a75abb1
Merge pull request #106915 from KoBeWi/invalid_reservation
Fix `SCROLL_MODE_RESERVE` with RTL layout
2025-06-01 00:31:50 +02:00
Logan Detrick 944295ab04 Fix TabContainer respecting tabbar_background margins 2025-05-31 13:49:38 -07:00
Danil Alexeev e6c9a832c1
Editor: Add ability to rename theme types 2025-05-29 21:57:48 +03:00
Marwen Azouzi 873833b4a7
Remove redundant `queue_redraw()` & fix typo 2025-05-29 17:22:32 +02:00
Hugo Locurcio 0a800df58e Clamp FontFile Face Index to a valid range in the inspector
Previously, you could set it to an invalid value in the inspector,
which caused an error to be printed by TextServerAdvanced.
2025-05-29 03:23:37 +02:00
Thaddeus Crews de37627404
Merge pull request #102552 from DarioSamo/shader-baker
Add shader baker to project exporter.
2025-05-28 17:09:38 -05:00
kobewi df70765af0 Fix SCROLL_MODE_RESERVE with RTL layout 2025-05-28 23:24:27 +02:00
Thaddeus Crews e0584b969d
Merge pull request #103601 from kitbdev/allow-tabbar-drag-override
Allow TabBar drag and drop to be overridden and add tab mouse tests
2025-05-28 09:47:38 -05:00
kobewi 34152b3f39 Remove redundant data.inside_tree 2025-05-28 15:27:59 +02:00
Lukas Tenbrink eb9bea10a9 Remove obsolete `VMap` forward declaration. 2025-05-28 12:19:33 +02:00
kit 48624a0778 Allow TabBar drag and drop to be overridden
Add tab mouse tests
2025-05-27 11:56:37 -04:00
Dario 5a30a7e7cd Add shader baker to project exporter.
Metal Support contributed by Migeran (https://migeran.com) and Stuart Carnie.

Co-authored-by: Stuart Carnie <stuart.carnie@gmail.com>
Co-authored-by: Gergely Kis <gergely.kis@migeran.com>
2025-05-27 12:45:27 -03:00
Thaddeus Crews c18c5c0b2c
Merge pull request #106864 from akien-mga/tileset-warning-maybe-uninitialized
TileSet: Fix `-Wmaybe-uninitialized` warning on CompatibilityShapeData
2025-05-27 09:39:35 -05:00
Thaddeus Crews f619ca2519
Merge pull request #60143 from Rindbee/better-connection-dialog
Add a flag to make the connection automatically emit the source object.
2025-05-27 09:39:34 -05:00
Thaddeus Crews 91b3a26438
Merge pull request #106848 from Faless/mp/rpc_config_revert
Expose `get_rpc_config` and `get_node_rpc_config`
2025-05-27 09:39:32 -05:00
Thaddeus Crews 05ceab6b7b
Merge pull request #106321 from elzewyr/shrink-factor
SoftBody3D: Add a property for scaling rest lengths of edge constraints
2025-05-27 09:39:29 -05:00
Thaddeus Crews 0f67c3e992
Merge pull request #104522 from Ivorforce/localvector-force-trivial-resize
Core: Add `resize_initialized` and `resize_uninitialized` to `Vector` and `LocalVector`
2025-05-27 09:39:27 -05:00
Thaddeus Crews b37869e36d
Merge pull request #106825 from berarma/video_timing
VideoStreamPlayer: Fix sync with the scene tree
2025-05-27 09:39:26 -05:00
Thaddeus Crews 63dff62948
Merge pull request #100673 from RandomShaper/res_duplicate
Overhaul resource duplication
2025-05-27 09:39:25 -05:00
Thaddeus Crews 482dacc300
Merge pull request #103583 from beicause/color-picker-add-intensity
ColorPicker: Add an intensity slider to all modes for HDR
2025-05-27 09:39:21 -05:00
Rindbee 5e2396e001
Add a flag to make the connection automatically emit the source object.
Mainly used to improve the connection dialog.

Not implemented in `emit_signalp()`, append the source object when a PackScene is instantiated.
2025-05-27 20:19:03 +08:00
Rémi Verschelde baa92252d3
TileSet: Fix `-Wmaybe-uninitialized` warning on CompatibilityShapeData 2025-05-27 13:51:13 +02:00
Haoyu Qiu 8d93b6a54c Add translation preview in editor 2025-05-27 07:59:28 +08:00
Fabio Alessandrelli b73ec1fa9b Expose get_rpc_config and get_node_rpc_config 2025-05-27 00:43:21 +02:00
Bernat Arlandis 1165021b0c VideoStreamPlayer: Fix sync with the scene tree 2025-05-26 20:04:14 +02:00
Lukas Tenbrink 4cb8a0c77e Add `resize_initialized` and `resize_uninitialized` to `Vector`. These functions serve as replacements for `resize`, to make sure the caller understands whether elements need to be initialized 'by hand' after the call. 2025-05-26 18:35:41 +02:00
Thaddeus Crews de2cd663fd
Merge pull request #100463 from PiCode9560/softbody-apply-force-and-impulse
Add ability to apply forces and impulses to `SoftBody3D`
2025-05-26 11:24:45 -05:00
Thaddeus Crews 955744fdaf
Merge pull request #106733 from Ivorforce/ok-rainbows
Use OkHSV for `RichTextLabel` rainbows
2025-05-26 11:24:44 -05:00
Thaddeus Crews f3f76df0cd
Merge pull request #103504 from lawnjelly/fti_warn_physics_non_interp4
Physics Interpolation - Add editor configuration warnings
2025-05-26 11:24:39 -05:00
Thaddeus Crews 04af103d0b
Merge pull request #106815 from timothyqiu/menu-bar-min-size
Fix MenuBar min size not updating after child rename
2025-05-26 11:24:36 -05:00
Thaddeus Crews e89c4b0f9f
Merge pull request #102330 from RGDTAB/add_partial_smaa
Add SMAA 1x to screenspace AA options
2025-05-26 11:24:35 -05:00
Thaddeus Crews b144bbb510
Merge pull request #106553 from Lazy-Rabbit-2001/sprite-dragging-improved
Reintroduce the dragging method of Sprite2D's region_rect
2025-05-26 11:24:34 -05:00
Thaddeus Crews 869807a7b8
Merge pull request #106796 from akien-mga/tileset-compat-conversion-prevent-crash
TileSet: Prevent crash in conversion of invalid tiles from Godot 3.x
2025-05-26 11:24:33 -05:00
Thaddeus Crews 777f1c10fa
Merge pull request #105376 from KoBeWi/quequeque
Queue hover update when creating TreeItem
2025-05-26 11:24:32 -05:00
Thaddeus Crews 9cf026a3b9
Merge pull request #106783 from bruvzg/ac_linux_state
Do not activate accessibility when screen reader detection failed.
2025-05-26 11:24:31 -05:00
Thaddeus Crews 5df01a8c5a
Merge pull request #96925 from SaNeOr/fix-#96908
Fix spaces converted to tabs in triple quote strings
2025-05-26 11:24:30 -05:00
Thaddeus Crews 506417fe43
Merge pull request #105623 from lodetrick/section-feature-hide
Allow Inspector Section Checkboxes to hide features, Add "On" text to checkboxes
2025-05-26 11:24:25 -05:00
Thaddeus Crews 5186987dde
Merge pull request #106254 from chsoen/fix-105582
Change Selected value for OptionButton when last item is deleted.
2025-05-26 11:24:24 -05:00
Thaddeus Crews f984e15b39
Merge pull request #106244 from lawnjelly/fti_optimize_scene_tree4
FTI - Optimize `SceneTree` traversal
2025-05-26 11:24:21 -05:00
Fabio Alessandrelli c28d5d0058 Revert "Expose get_rpc_config and get_node_rpc_config"
This reverts commit 8835f326b1.
2025-05-26 15:57:38 +02:00
Pedro J. Estébanez 342266cfd9 Overhaul `Variant::duplicate()` for resources
This in the scope of a duplication triggered via any type in the `Variant` realm. that is, the following: `Variant` itself, `Array` and `Dictionary`. That includes invoking `duplicate()` from scripts.

A `duplicate_deep(deep_subresources_mode)` method is added to `Variant`, `Array` and `Dictionary` (for compatibility reasons, simply adding an extra parameter was not possible). The default value for it is `RESOURCE_DEEP_DUPLICATE_NONE`, which is like calling `duplicate(true)`.

Remarks:
- The results of copying resources via those `Variant` types are exactly the same as if the copy were initiated from the `Resource` type at C++.
- In order to keep some separation between `Variant` and the higher-level animal which is `Resource`, `Variant` still contains the original code for that, so it's self-sufficient unless there's a `Resource` involved. Once the deep copy finds a `Resource` that has to be copied according to the duplication parameters, the algorithm invokes the `Resource` duplication machinery. When the stack is unwind back to a nesting level `Variant` can handle, `Variant` duplication logic keeps functioning.

While that is good from a responsibility separation standpoint, that would have a caveat: `Variant` would not be aware of the mapping between original and duplicate subresources and so wouldn't be able to keep preventing multiple duplicates.

To avoid that, this commit also introduces a wormwhole, a sharing mechanism by which `Variant` and `Resource` can collaborate in managing the lifetime of the original-to-duplicates map. The user-visible benefit is that the overduplicate prevention works as broadly as the whole `Variant` entity being copied, including all nesting levels, regardless how disconnected the data members containing resources may be across al the nesting levels. In other words, despite the aforementioned division of duties between `Variant` and `Resource` duplication logic, the duplicates map is shared among them. It's created when first finding a `Resource` and, however how deep the copy was working at that point, the map kept alive unitl the stack is unwind to the root user call, until the first step of the recursion.

Thanks to that common map of duplicates, this commit is able to fix the issue that `Resource::duplicate_for_local_scene()` used to ignore overridden duplicate logic.
2025-05-26 10:06:40 +02:00
Haoyu Qiu b2d47352d0 Fix MenuBar min size not updating after child rename 2025-05-26 14:37:30 +08:00
Rémi Verschelde b323212e0e
TileSet: Prevent crash in conversion of invalid tiles from Godot 3.x
Fixes #80898.
2025-05-25 15:20:56 +02:00