Commit graph

569 commits

Author SHA1 Message Date
passivestar 97a77c5193 Add support for search shortcut to all docks 2024-01-22 22:37:59 +04:00
kobewi 60e88f2def Display path in tooltips of sub-resource list 2024-01-16 23:51:57 +01:00
Yuri Sizov 95b27fe8c7 Reorganize code related to editor theming
This change introduces a new EditorThemeManager class
to abstract theme generatio and its subroutines.

Logic related to EditorTheme, EditorColorMap, and editor
icons has been extracted into their respective files with
includes cleaned up.

All related files have been moved to a separate folder to
better scope them in the project. This includes relevant
generated files as well.
2024-01-16 11:57:45 +01:00
QuirkyLemon 14b2533ef6 add tooltip for toggling favorite nodes 2024-01-12 15:26:13 -06:00
kobewi 0e8f90f4c8 Update deferred calls to use Callables 2024-01-09 16:11:47 +01:00
SaracenOne cb8a743e18
Fix behavior of 'Editable Children' toggle.
Prevents losing nodes owned by the edited scene when
toggling editable_children off on an instanced scene,
and makes the toggle compatible with undo-redo.
2024-01-09 13:34:38 +01:00
Muller-Castro 96a95cb974 Add const lvalue ref to container parameters 2024-01-05 14:49:57 -03:00
Rémi Verschelde bb1006b2ac
Merge pull request #84284 from Haydoggo/script-switch
Preserve inspector focus when opening script from scene tree
2024-01-04 16:39:59 +01:00
Rémi Verschelde 1312a73304
Merge pull request #84135 from aXu-AP/reparent-select-fix
Fix nodes being deselected upon reparenting
2024-01-04 16:39:53 +01:00
Rémi Verschelde 6c390b620d
Merge pull request #84445 from Rubonnek/add-const-references-clang-tidy
Add const references detected by clang-tidy
2024-01-04 14:25:33 +01:00
Rémi Verschelde df8b7fee81
Merge pull request #82802 from marcinn/fix-82756-prevent-saving-children-without-owner
Fix saving branch as scene saves children without owner set
2024-01-03 15:40:37 +01:00
Rémi Verschelde e78c5d0ec5
Merge pull request #86211 from TheSofox/node-duplicate-undo-fix
Fix duplicating multiple nodes at different depths in `SceneTreeDock`
2024-01-02 15:08:57 +01:00
Sofox ed648799ae Fixed duplicating nodes at different depths in SceneTreeDock 2023-12-22 15:20:08 +00:00
Michael Alexsander 589b7b0ed1
Fix scene dock search losing its default tooltip after typing an invalid filter 2023-12-17 20:07:46 -03:00
Wilson E. Alvarez a3cb1b096f
Add const references detected by clang-tidy 2023-12-16 13:36:44 -05:00
Yuri Sizov 8f33b4e83a Merge pull request #84882 from Invertex/select-instance-asset
Add "Show In FileSystem" to the Scene hierarchy right-click
2023-12-14 17:38:30 +01:00
Invertex 59787683a9 Added "Show In FileSystem" right-click option to Scene hierarchy nodes.
-Implemented shared function for focusing FileSystem tab and highlighting the node path.
-Created right-click option that shows up in the Scene-Hierarchy on Nodes that have a file-system source path.
-Created custom icon for this right-click option
-Implemented the shared function and icon for other places that already had this features (Open Node tab, Inspector Resource)

Co-authored-by: MewPurPur <mew.pur.pur@gmail.com>
2023-12-13 07:43:39 -08:00
Yuri Sizov 8cb2d20fce Merge pull request #85236 from YuriSizov/editor-flat-remote
Use the flat button style on switches in scene and node docks
2023-12-08 16:58:24 +01:00
Rémi Verschelde a8bc207252
Merge pull request #85181 from TheSofox/reparent-container-undo-fix
Restored Control properties when you undo a parenting of a Control to a Container
2023-12-04 23:10:51 +01:00
Yuri Sizov 3a67eb2675 Disable a prohibitively slow code branch when reparenting nodes 2023-11-29 17:39:39 +01:00
Yuri Sizov b1d6e336ea Use the flat button style on switches in scene and node docks 2023-11-22 20:10:35 +01:00
Sofox 5614e6d61c Restored Control layout properties you undo a parenting of a Control to a Container 2023-11-22 09:37:17 +00:00
Marcin Nowak 561fcf54a4 Fix #82756: Save branch as scene saves children without owner set 2023-11-16 01:14:04 +01:00
Rémi Verschelde 15b8185c68
Don't use TTR/RTR for ERR/WARN prints
We don't translate those, only editor strings are translated.
2023-11-12 12:00:55 +01:00
Yuri Sizov b04b546092 Fix node names of submenu items across the editor
Also removes some programmer remarks and fixes some docs.
2023-11-08 14:42:42 +01:00
Yuri Sizov 8b11ae9cf5 Merge pull request #83596 from SaracenOne/node_copy_paste_fix
Fix ownership bugs in node copy and pasting.
2023-11-06 13:23:03 +01:00
Saracen 26576cc210 Fix ownership bugs in node copy and pasting. 2023-11-04 20:14:09 +00:00
Saracen 4f0790a214 Fix perform_node_renames handling of AnimationMixers track paths 2023-11-02 21:38:32 +00:00
Hayden Leete 887fd08260 preserve inspector focus when opening script 2023-11-01 18:19:27 +13:00
aXu-AP 414d84b159 Fix nodes being deselected upon reparenting 2023-10-31 21:15:04 +02:00
Rémi Verschelde dc3a643541
Merge pull request #83934 from KoBeWi/give_back_animations_to_animation_editor
Fix animation track paths updated by scene dock
2023-10-28 18:34:10 +02:00
Saracen 29c2615352 Remove toggling of unique names in subscenes 2023-10-28 02:55:45 +01:00
Rémi Verschelde dd74ffde95
Merge pull request #84022 from SaracenOne/validate_renames
Add foreign validation warning for rename actions.
2023-10-27 11:39:20 +02:00
Saracen 5deff6c2dd Add foreign validation warning for rename actions. 2023-10-26 22:14:48 +01:00
Rémi Verschelde 9f20a4a391
Merge pull request #81510 from garychia/unedit_created_script
SceneTreeDock: Avoid changing the currently edited object when attaching a script
2023-10-26 08:57:01 +02:00
kobewi 294ce2d2a7 Fix animation track paths updated by scene dock 2023-10-25 12:34:50 +02:00
Rémi Verschelde cd46addfca
Merge pull request #83597 from SaracenOne/duplicate_foreign_nodes
Support duplication of foreign nodes.
2023-10-25 10:28:45 +02:00
Rémi Verschelde f41e07bfe6
Merge pull request #81737 from Mickeon/fix-connection-inherited-packed-scene
Fix internal `CONNECT_INHERITED` being saved in PackedScene & Make Local
2023-10-24 10:53:37 +02:00
Rémi Verschelde 5e8bf6addf
Merge pull request #83815 from timothyqiu/as
Fix "as" capitalization in editor strings
2023-10-23 12:43:15 +02:00
Rémi Verschelde e19acaab47
Merge pull request #82486 from timothyqiu/the-node-who-lived
Fix "Some nodes are referenced by animation tracks" when deleting instance
2023-10-23 12:39:15 +02:00
Haoyu Qiu 2413952a4c Fix "as" capitalization in editor strings 2023-10-23 16:10:05 +08:00
Saracen 9d6f570c28 Support duplication of foreign nodes. 2023-10-18 17:00:47 +01:00
Rémi Verschelde 3d9ce123fa
Merge pull request #83386 from SaracenOne/make_local_inherited
Disallow 'Make Local' command on inherited nodes.
2023-10-16 13:00:59 +02:00
Saracen 0f36040321 Disallow 'Make Local' command on inherited nodes. 2023-10-15 13:35:19 +01:00
kobewi a5c984412c Don't try updating wrong NodePaths in resources 2023-10-13 13:31:13 +02:00
Rémi Verschelde fc64dfedfb
Merge pull request #80817 from garychia/reparent_node
Avoid creating any useless undo action when dragging nodes in place
2023-10-10 15:06:06 +02:00
A Thousand Ships f18aa00e85 Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable 2023-10-08 17:23:33 +02:00
Rémi Verschelde c3046f4c0d
Merge pull request #80721 from tom95/resource-node-path-renaming
Recurse into resources to check for changed node paths
2023-10-03 17:12:44 +02:00
Micky 021d92fece Fix internal CONNECT_INHERITED being saved in PackedScene & Make Local 2023-10-03 15:03:55 +02:00
Tom Beckmann 42a3108902 recurse into resources to check for changed node paths 2023-10-02 22:00:02 +02:00