1
0
Fork 0
Commit Graph

2474 Commits

Author SHA1 Message Date
lawnjelly 583c72f999 `FTI` - Change `SceneTree` global setting to static
Also fixup FTI configuration warnings so that they only output when the project is using FTI.
2025-06-23 10:19:24 +01:00
Dimitri Sukhankin 6e650163da Add a proper error message when trying to add node to a group with an empty name 2025-06-21 13:58:31 +04:00
Thaddeus Crews e2a9c11157
Merge pull request #107584 from timothyqiu/editor-root-auto-translate
Fix root node auto translation settings affecting editor root
2025-06-18 18:13:51 -05:00
Thaddeus Crews 353bd80c91
Merge pull request #107581 from timothyqiu/window-title-update
Fix game view window not updating title when translation changes
2025-06-18 18:13:50 -05:00
Pāvels Nadtočajevs 34a97f9c9b
Fix scale and position of popups with `force_native`. 2025-06-16 13:03:42 +03:00
Haoyu Qiu 2a7fa46110 Fix root node auto translation settings affecting editor root 2025-06-16 17:12:27 +08:00
Haoyu Qiu 0a1fa10315 Fix game view window not updating title when translation changes 2025-06-16 09:35:25 +08:00
Rémi Verschelde 318a81779b
Merge pull request #107498 from bruvzg/force_native_crash
Fix `set_force_native` when window is not in tree.
2025-06-13 18:37:52 +02:00
Pāvels Nadtočajevs 5ea0baab8b
Fix `set_force_native` when window is not in tree. 2025-06-13 19:08:56 +03:00
Rémi Verschelde 6f2ab528ca
Merge pull request #107488 from KoBeWi/clamped_scale_factory
Multiply contents minimum size by scale factor
2025-06-13 15:54:39 +02:00
kobewi 8a4081347f Multiply contents minimum size by scale factor 2025-06-13 14:12:15 +02:00
lawnjelly 59556cbd17 `SceneTreeFTI` - miscellaneous speedups 2025-06-13 12:15:47 +01:00
Rémi Verschelde 22702244f8
Merge pull request #105414 from KoBeWi/disable_uid_here
Add `@export_file_path` to export raw paths (no UID)
2025-06-13 01:30:24 +02:00
Rémi Verschelde ae484828bb
Merge pull request #107408 from Ivorforce/node-path-string-explicit
Make conversions from `NodePath` to `String` explicit.
2025-06-12 22:49:03 +02:00
Rémi Verschelde b7caebcd78
Merge pull request #107175 from lawnjelly/scenetreefti_fix_show_updates
`SceneTreeFTI` - Fix `force_update` flag getting out of sync with invisible nodes
2025-06-12 11:56:37 +02:00
LuoZhihao 8ba4656ea3 Compile out editor-only logic within `validate_property` in games 2025-06-12 12:54:19 +08:00
Lukas Tenbrink e2931a5c19 Make conversions from `NodePath` to `String` explicit. 2025-06-11 16:50:27 +02:00
Rémi Verschelde 8aac4a157f
Merge pull request #106742 from bruvzg/about_to_popup
Call `PopupMenu`  min. size calculations after `about_to_popup` signal processing.
2025-06-11 12:10:05 +02:00
Pāvels Nadtočajevs 12d957e737
Call `PopupMenu` min. size calculations after `about_to_popup` signal processing. 2025-06-11 12:23:29 +03:00
Haoyu Qiu 4e20e33e21 Expose `Node.can_auto_translate()` 2025-06-11 11:26:43 +08:00
Rémi Verschelde 07ee1331e8
Merge pull request #106952 from bruvzg/fna_emb_fx
Fix window embedding for windows with `force_native` enabled.
2025-06-10 12:30:11 +02:00
Thaddeus Crews 4e6f5f31dc
Merge pull request #107305 from timothyqiu/single-window-title
Fix window title drawn outside the title bar
2025-06-09 12:31:34 -05:00
Thaddeus Crews 6427343ec8
Merge pull request #106660 from bruvzg/ac_node_to_ctl
Move some accessibility properties from Node to Control
2025-06-09 12:31:32 -05:00
Thaddeus Crews 75f353bf2b
Merge pull request #107283 from bruvzg/node_pack_tr
Bitpack node auto translation values.
2025-06-09 12:31:28 -05:00
Haoyu Qiu f028bc93db Fix window title drawn outside the title bar 2025-06-09 16:20:26 +08:00
Pāvels Nadtočajevs 40665addbc
Bitpack node auto translation values. 2025-06-09 00:03:53 +03:00
Haoyu Qiu 3886ee84e6 Don't store deprecated `auto_translate` property 2025-06-08 21:53:28 +08:00
Pāvels Nadtočajevs aff5b413aa
Move some accessibility properties from Node to Control 2025-06-08 16:25:28 +03:00
lawnjelly a7b7d96f96 `SceneTreeFTI` - Fix `force_update` flag getting out of sync with invisible nodes
If the `force_update` flag remained set after the node was removed from the update lists, the node would never be updated in future. This could occur with hidden nodes that were moved after hiding.
2025-06-05 19:44:18 +01:00
Rémi Verschelde ef6d90b1e0
Merge pull request #106307 from Rubonnek/improve_timer_error
Improve `Timer::start` error message.
2025-06-05 13:11:44 +02:00
Rémi Verschelde c27c87b852
Merge pull request #105245 from timothyqiu/canvas-layer-range
Relax the range hint for canvas layer properties
2025-06-05 13:10:50 +02:00
Thaddeus Crews b0f3c3fa22
Merge pull request #106966 from bruvzg/ac_trans_simpl
[Accessibility] Always auto-translation mode for names/descriptions.
2025-06-02 18:51:49 -05:00
Pāvels Nadtočajevs 3198b7bea2
[Accessibility] Always auto-translation mode for names/descriptions. 2025-05-30 17:55:27 +03:00
Pāvels Nadtočajevs 4877a964e4
Fix window embedding for windows with `force_native` enabled. 2025-05-30 08:31:17 +03:00
kobewi 34152b3f39 Remove redundant data.inside_tree 2025-05-28 15:27:59 +02: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 63dff62948
Merge pull request #100673 from RandomShaper/res_duplicate
Overhaul resource duplication
2025-05-27 09:39:25 -05: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
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 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 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 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
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
Pāvels Nadtočajevs f92fd74268
Do not activate accessibility when screen reader detection failed. 2025-05-25 00:17:23 +03:00
lawnjelly c7764ef26b FTI - Optimize `SceneTree` traversal 2025-05-24 17:38:33 +01:00
kobewi 42249bb659 Add @export_file_path to export raw paths (no UID) 2025-05-22 13:25:17 +02:00
Logan Detrick 1a427d3dec Add feature hint string and "On" text for checkable groups 2025-05-21 14:56:55 -07:00
Raymond DiDonato 6b99608950 Add SMAA 1x 2025-05-21 15:02:09 -04:00