Commit graph

642 commits

Author SHA1 Message Date
Rémi Verschelde
d4735ebd97
Merge pull request #96776 from aXu-AP/detach-script-undo
Make detach script non-destructive operation
2024-09-16 13:34:58 +02:00
A Thousand Ships
dd6443193c
[Editor] Expose more editor settings to documentation
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2024-09-12 15:34:49 +02:00
Rémi Verschelde
a4e77d94bc
Merge pull request #96539 from KoBeWi/feat_context_menu_plugin4.x_2-electric_boogaloo
Add EditorContextMenuPluginManager and refactor menu plugins
2024-09-11 12:34:53 +02:00
aXu-AP
e4db0bca73 Make detach script non-destructive operation
Fix detach script not returning script's property values on undo.
2024-09-10 10:19:17 +03:00
kit
5e1c9d68aa Extract editor main screen 2024-09-09 11:06:18 -04:00
Rémi Verschelde
b4dc87db9d
Merge pull request #96189 from SaracenOne/disable_placeholder_toggle
Add Instance Placeholder validation check.
2024-09-08 23:21:41 +02:00
RedMser
8da49ab947 Fix "reparent to new node" when node has internal children 2024-09-06 13:13:40 +02:00
RedMser
b11ccf3c77 Fix "reparent to new node" not remembering index 2024-09-05 18:48:00 +02:00
Rémi Verschelde
de2f50777e
Merge pull request #95343 from Giganzo/unique-name-dialog
Add ConfirmationDialog when clicking on % button in SceneTree
2024-09-04 17:11:46 +02:00
Giganzo
89c009b105 Add ConfirmationDialog when clicking on % button in SceneTree 2024-09-04 12:08:32 +02:00
kobewi
ecc0ab8061 Add EditorContextMenuPluginManager and refactor menu plugins 2024-09-03 23:59:25 +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
79da448d5f
Merge pull request #94582 from citizenll/feat_context_menu_plugin4.x
Add support for custom items to editor right-click context menus
2024-09-03 16:13:47 +02:00
citizenl
6b2348adac Add support for custom items to editor right-click context menus 2024-09-03 20:14:14 +08:00
A Thousand Ships
194bdde947
Cleanup of raw nullptr checks with Ref
Using `is_valid/null` over checks with `nullptr` or `ERR_FAIL_NULL` etc.
2024-08-31 15:01:09 +02:00
kleonc
5ae85a4fb9 Fix SceneTreeDock invalid state after trying to remove internal Node 2024-08-28 19:06:50 +02:00
Saracen
fe6762a6c7 Add Instance Placeholder validation check.
Disallow toggling placeholder on editable children
or inherited nodes.
2024-08-27 22:56:23 +01:00
jsjtxietian
b5fa2a3d3a Support opening custom class documentation with "Open Documentation" menu entry 2024-08-27 21:52:07 +08:00
Rémi Verschelde
01b87a9a9c
Merge pull request #95171 from KoBeWi/remove_save
Avoid saving EditorSettings on startup
2024-08-17 00:46:03 +02:00
kobewi
e47ec7eeb0 Avoid saving EditorSettings on startup 2024-08-05 21:14:24 +02:00
Haoyu Qiu
8b3400e634 Don't drop PackedScene as property 2024-08-03 14:43:24 +08:00
AeioMuch
393fb68aea
Fix node gets wrongly selected after moving another node in the tree 2024-07-23 15:16:45 +02:00
iiMidknightii
2bbba84f79 Removed Unique Name Access From Node Moved To Root 2024-07-17 16:17:22 -07:00
Rémi Verschelde
ef3443ef35
Merge pull request #93165 from passivestar/scenetree-shortcut-focus
Prevent node rename shortcut from stealing focus from controls
2024-07-17 11:42:38 +02:00
passivestar
09f967bc00 Prevent node rename shortcut from stealing focus from controls 2024-07-09 16:29:35 +04:00
kobewi
b51d9117ed Fix wrong inspected node after drag&drop 2024-07-08 23:52:16 +02:00
AeioMuch
9eacbf6de7 Fix clear_custom_color on invalid tree_item_inspected 2024-06-28 06:10:49 +02:00
Anni Ryynänen
eed6f4fef4
Fix reselecting scene tree node after inspecting a resource
This broke when the `node_selected` connection was removed in #91435.
Here it's returned, but the emit is removed from `_node_removed`. That
preserves the earlier fix while allowing nodes to be reselected.
2024-06-24 13:17:45 +03:00
Rémi Verschelde
a50b535988
Merge pull request #93110 from Hilderin/fix-signal-panel-after-connection
Fix Can't reopen signals panel immediately after connecting a signal
2024-06-19 10:10:14 +02:00
A Thousand Ships
fbb879debd
[Scene] Add SceneStringNames::text/value_changed 2024-06-19 09:44:38 +02:00
A Thousand Ships
ca18a06ecb
[Scene] Add SceneStringNames::confirmed 2024-06-19 09:40:54 +02:00
Hilderin
64ba2cf3a9 Fix Can't reopen signals panel immediately after connecting a signal #92996 2024-06-18 18:24:40 -04:00
Rémi Verschelde
41381a73fe
Merge pull request #92930 from passivestar/inspector-node-delete
Add missing inspector dock update after node deletion
2024-06-11 16:59:35 +02:00
Rémi Verschelde
553f77674c
Merge pull request #91265 from AeioMuch/fix_drop_reparent
Fix reparenting after hover delay
2024-06-10 16:11:34 +02:00
passivestar
3cd245c7b1 Add missing inspector dock update after node deletion 2024-06-09 11:51:41 +04:00
风青山
85a1662e3b
Call EditorNode::set_edited_scene() manually instead of via the replacing_by signal
Cannot change `scene_root`'s child node in `EditorNode::set_edited_scene()`
if replaced later using `replace_by`.
2024-06-06 22:44:13 +08:00
kobewi
be111004dd Fix default NodePaths saved in scene 2024-06-03 13:10:23 +02:00
AeioMuch
829bedcadb Fix reparent when hovering after delay 2024-05-31 14:27:41 +02:00
A Thousand Ships
755a0efbb6
[Scene] Add SceneStringNames::id_pressed 2024-05-30 22:54:04 +02:00
Haoyu Qiu
8a17acf35c Fix error when dropping image onto the scene dock 2024-05-28 18:57:04 +08:00
ajreckof
32e29cc24b Fix bounding box glitch 2024-05-23 11:18:59 +02:00
kobewi
e065d7132a Remove duplicate shortcut definitions 2024-05-21 23:28:49 +02:00
Haoyu Qiu
e5c321448e Create AudioStreamPlayer when dropping AudioStream
- Create AudioStreamPlayer if dropped in between nodes in the Scene dock
- Create AudioStreamPlayer2D if dropped into 2D editor
- Create AudioStreamPlayer3D if dropped into 3D editor
2024-05-19 20:26:04 +08:00
RedMser
5e79e02d0f Fix Control resizing wrongly after "change type" in editor 2024-05-14 21:51:35 +02:00
A Thousand Ships
ee79386f7b
[Scene] Add SceneStringNames::pressed 2024-05-14 15:51:28 +02:00
kobewi
413c11357d Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
Rémi Verschelde
0ebba3023e
Merge pull request #91435 from ajreckof/Fix-selecting-root-when-opening-scene-
Fix selecting root when opening scene.
2024-05-13 12:05:39 +02:00
ajreckof
0ab5d37049 Fix selecting root when opening scene. 2024-05-12 21:46:21 +02:00
Gilles Roudière
7705265477 Fix PropertyListHelper::_get_property returning a valid value even if an index is outside the array valid indices
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2024-05-10 10:46:04 +02:00
A Thousand Ships
a0dbdcc3ab
Replace find with contains/has where applicable
* Replaces `find(...) != -1` with `contains` for `String`
* Replaces `find(...) == -1` with `!contains` for `String`
* Replaces `find(...) != -1` with `has` for containers
* Replaces `find(...) == -1` with `!has` for containers
2024-05-08 12:37:42 +02:00