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
Tom Beckmann
42a3108902
recurse into resources to check for changed node paths
2023-10-02 22:00:02 +02:00
Silc Lizard (Tokage) Renew
1b95827d3e
Implement AnimationManager the base class of AnimationPlayer/Tree
2023-09-29 08:23:57 +09:00
kobewi
e30e84d77a
Fix submenus deleted accidentally
2023-09-26 16:47:33 +02:00
Hugo Locurcio
edade7db23
Clarify filtering by node type and group in the Scene tree dock
...
This functionality has been available since 4.0, but was difficult
to discover since there was no tooltip and the placeholder didn't
mention it.
2023-09-22 23:09:35 +02:00
ajreckof
6afadbaa9f
Replace Ctrl in editor shortcuts with Cmd or Ctrl depending on platform
2023-09-19 10:29:07 +02:00
A Thousand Ships
75ee58fd04
[Editor] Replace ERR_FAIL_COND
with ERR_FAIL_NULL
where applicable
2023-09-15 20:15:39 +02:00
Yuri Sizov
fa31a9fe2a
Merge pull request #81673 from KoBeWi/only_child
...
Don't paste nodes as sibling of scene root
2023-09-15 19:48:44 +02:00
kobewi
4778b53da9
Don't paste nodes as sibling of scene root
2023-09-15 16:05:17 +02:00
Chia-Hsiang Cheng
3d7facd21c
Remove animation tracks with correct indices
2023-09-15 14:22:09 +08:00
Yuri Sizov
9948f03344
Merge pull request #79920 from KoBeWi/most_sane_path
...
Automatically add path to built-in scripts
2023-09-14 15:21:19 +02:00
风青山
95248a7d72
Fix bugs of copying scene root node or pasting node as scene root
...
Fix crash when pasting a node as a new scene root.
Fix owner was not set correctly when copying scene root node from unsaved scene.
The owner of the root node is `nullptr`, which was ignored before.
2023-09-07 21:57:37 +08:00
kobewi
6de34fde27
Add EditorStringNames singleton
2023-09-03 19:58:18 +02:00
Rémi Verschelde
0655a7d7d3
Merge pull request #80517 from YuriSizov/tsa-randomly-picked-you-for-mandatory-inspection-i-think-not
...
Avoid unnecessary inspector updates when loading or switching scenes
2023-08-28 12:05:06 +02:00
Chia-Hsiang Cheng
41441765cd
Avoid creating any useless undo action when dragging nodes in place
2023-08-26 22:00:36 +08:00
Rémi Verschelde
c081d1bd24
Merge pull request #78816 from kleonc/scene-tree-fix-drag-drop-to-parent-with-internal-nodes
...
Fix drag-dropping nodes to parent with internal nodes
2023-08-16 16:54:06 +02:00
Yuri Sizov
2445414aa0
Avoid unnecessary inspector updates when loading or switching scenes
...
This should result in some noticeable performance improvements,
aside from fixing bugs due to conflicts in logic.
This also simplifies some related code identified while debugging.
2023-08-12 13:32:59 +02:00
RandomWalrus13
585633ea85
Fix menu items that trigger secondary interface missing ellipsis
...
fix #80347
2023-08-09 08:30:35 -05:00
Rémi Verschelde
016621f51d
Merge pull request #79467 from Calinou/editor-add-paste-as-sibling
...
Add a shortcut to paste nodes as sibling of the selected node
2023-08-07 14:47:27 +02:00
Yuri Sizov
e4b8dc81b8
Merge pull request #78300 from ajreckof/fix-replace-node-destroying-Node-properties
...
Auto-update properties when replacing a node
2023-08-03 22:37:40 +02:00
ajreckof
4da9927faf
Fix replace node deleting Node
properties.
...
Update editor/scene_tree_dock.cpp
Co-Authored-By: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-08-03 18:38:24 +02:00
kobewi
ed6ad376c6
Automatically add path to built-in scripts
2023-07-26 14:52:45 +02:00
Chia-Hsiang Cheng
e0cbbe4bbd
Avoid duplicating the 'Filters' section
2023-07-23 12:14:28 +08:00
Hugo Locurcio
c0e3dc55ba
Add a shortcut to paste nodes as sibling of the selected node
...
This makes quick pasting jobs easier when you don't want a heavily
nested structure, by pressing Ctrl + Shift + V (Cmd + Shift + V on macOS)
instead of Ctrl + V (Cmd + V on macOS).
2023-07-14 17:35:23 +02:00
kleonc
3f6e35bdb2
Fix drag-dropping nodes to parent with internal nodes
2023-07-07 19:24:44 +02:00
hzhang
25746716f3
Fix drag-dropping nodes at the end of children list
2023-06-19 20:42:33 +08:00
Rémi Verschelde
c3e5e4ed4b
Merge pull request #68599 from Rindbee/update-edited_scene_root-in-time
...
Update the edit scene root in time after it is replaced
2023-06-12 17:08:50 +02:00
Rindbee
eb74079dfb
Update the edit scene root in time after it is replaced
...
When changing the type of the edited scene root node, it may be necessary
to update edited scene root in time for the child nodes to work properly.
2023-06-12 21:49:30 +08:00
kobewi
05663b8633
Minor improvements to sub-resource list
2023-05-26 14:37:30 +02:00
kobewi
e729c46b19
Filter extraneous resources from sub-resource list
2023-05-18 01:15:27 +02:00
HolonProduction
7814dedc91
Preserve scene unique names when saving branch as scene.
2023-04-30 13:33:43 +02:00
kobewi
36b4ed4fa4
Prompt to confirm anim track delete on node delete
2023-04-25 17:55:05 +02:00
Yuri Sizov
4154039832
Improve includes of EditorNode (and everything else)
...
Also start organizing editor-specific GUI components
into a dedicated folder, `editor/gui`.
Also move `editor_file_server` next to the rest of debugger classes.
2023-04-07 18:59:49 +02:00
kobewi
5a99304251
Add a list of all sub-resources used in the scene
2023-04-05 21:01:49 +02:00
Yuri Sizov
1522762dc9
Make icons of scripted and custom classes fit the editor UI
...
Also:
- Add an option to limit the icon size in PopupMenu.
This is similar to how this works in Tree and TreeItem.
- Add the same option to TabBar.
- Add a theme constant for Tree, PopupMenu, Button, and
TabBar to apply this limit on the control level.
Co-authored-by: Daylily-Zeleen <daylily-zeleen@foxmail.com>
2023-03-31 21:39:02 +02:00
SnailRhymer
526d299623
Stop pasted child nodes being assigned an owner when previously unowned
...
Make copy and pasting match duplication's ownership transferral behavior by storing ownership information in the duplicated nodes on the node clipboard, then checking that information when setting owners for pasted nodes.
2023-03-15 16:12:51 +01:00
kobewi
360c71c3f6
Prevent wrong unedit when clicking editor viewport
2023-02-01 00:50:34 +01:00
Aaron Franke
0e7785333f
Improve clarity of Tree's activated/double-clicked signals
...
Co-authored-by: Yuri Sizov <yuris@humnom.net>
2023-01-24 15:55:09 -06:00
Yuri Sizov
fab9926a95
Merge pull request #65137 from dalexeev/editor-naming
...
Rearrange `editor/naming/*` project settings
2023-01-24 22:26:03 +03:00
Rémi Verschelde
5b1df48c6c
Convert en_GB spelling to en_US with codespell
2023-01-23 11:02:20 +01:00
kobewi
4ae168eb04
Rework EditorPlugin editing logic
2023-01-22 00:20:45 +01:00
kobewi
b58111588a
Add EditorUndoRedoManager singleton
2023-01-16 01:11:52 +01:00
Danil Alexeev
8f706be6fa
Rearrange editor/naming/*
project settings
2023-01-12 11:41:13 +03:00
Yuri Sizov
00b5222f66
Fix inconsistent state of Controls when editing and running scenes
2023-01-09 15:54:04 +03:00
Rémi Verschelde
d95794ec8a
One Copyright Update to rule them all
...
As many open source projects have started doing it, we're removing the
current year from the copyright notice, so that we don't need to bump
it every year.
It seems like only the first year of publication is technically
relevant for copyright notices, and even that seems to be something
that many companies stopped listing altogether (in a version controlled
codebase, the commits are a much better source of date of publication
than a hardcoded copyright statement).
We also now list Godot Engine contributors first as we're collectively
the current maintainers of the project, and we clarify that the
"exclusive" copyright of the co-founders covers the timespan before
opensourcing (their further contributions are included as part of Godot
Engine contributors).
Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-05 13:25:55 +01:00
Rémi Verschelde
49794911e8
Merge pull request #70779 from jamesmintram/jamesm/bugfix/add-missing-shortcut-case-for-reparent
...
Add missing case statement to handle re-parent to new node
2023-01-03 12:31:50 +01:00
James Mintram
35d0f712ba
Add missing case statement to handle re-parent to new node
2022-12-31 20:32:32 +00:00
stmSi
b2a398d2a5
Editor: Fix Paste From Clipboard
make two root separate scenes pointing to same file
2022-12-27 17:12:36 +06:30