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
A Thousand Ships
955d5affa8
Reduce and prevent unnecessary random-access to `List`
...
Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when
accessing a single element)
* Removed subscript operator, in favor of a more explicit `get`
* Added conversion from `Iterator` to `ConstIterator`
* Remade existing operations into other solutions when applicable
2024-05-04 16:08:55 +02:00
Haoyu Qiu
6a406bf424
Fix offset of node filter menu separator icon
2024-04-19 13:33:45 +08:00
ajreckof
48a6476861
Fix going forward backward in editor selection history.
2024-04-14 17:21:11 +02:00
风青山
e825a6fb01
Make the inherited scene root node unable to change type
...
Make the inherited scene root behave like other children from the
inherited scene.
2024-04-11 22:29:18 +08:00
AeioMuch
0ba1adfaf9
Inspect hovered node while dragging
2024-04-10 17:15:13 +02:00
Haoyu Qiu
479b7afa8e
Add context support for editor property name i18n
2024-03-31 18:40:14 +08:00
kobewi
ad7d54174b
Disable auto-translation in sub-resource list menu
2024-03-26 17:47:30 +01:00
kobewi
77879d4288
Update NodePaths only in built-in resources
2024-03-11 15:17:29 +01:00
Rémi Verschelde
cc3457b125
Merge pull request #89142 from miv391/shortcut-to-editable-children
...
Change Editable Children menu action to be keyboard shortcuttable
2024-03-04 20:43:57 +01:00
Mika Viskari
3c0b66bf8f
Changed Editable Children menu action to be keyboard shortcuttable
2024-03-04 18:32:15 +02:00
kobewi
ffadba0b08
Allow to easily rename multiple nodes
...
Co-authored-by: ajreckof <tbonhoure@ymail.Com>
2024-03-03 13:16:21 +01:00
Muller-Castro
1638c1b28f
Add const lvalue ref to editor/* container parameters
2024-02-26 15:28:15 -03:00
kobewi
aeec3c1309
Add methods to add submenus without using names
2024-02-22 15:13:53 +01:00
Rémi Verschelde
9e9dcdbba4
Merge pull request #86378 from RobProductions/update-hover-styling
...
Add hover highlight to main editor buttons
2024-02-20 19:34:40 +01:00
kobewi
a031911c82
Use check_changed_settings_in_group() everywhere
2024-02-19 21:34:45 +01:00
A Thousand Ships
dde5368dee
[Editor] Add missing ellipses to menu options that open dialogs
2024-02-17 17:09:17 +01:00
Matt Enad
5b5de0e167
Add hover highlight to main editor buttons
...
Updates styling of the editor run bar, plugin, bottom panel, icon buttons, and main menu buttons for accessibility.
2024-02-16 14:49:44 -05:00
Bitlytic
f9e03459e8
Add an option to center children around the new parent when reparenting
2024-02-14 13:46:04 +01:00
kobewi
8ec86e29c8
Rework how script is edited when clicking icon
2024-02-13 16:54:33 +01:00
A Thousand Ships
684752e75b
Replace error checks against `size` with `is_empty`
2024-02-09 12:50:15 +01:00
Rémi Verschelde
45e9d20d60
Merge pull request #87834 from TokageItLab/remove-dupecall-scene-tree-dock
...
Remove duplicated callings `set()` from SceneTreeDock
2024-02-05 14:50:09 +01:00
Silc Lizard (Tokage) Renew
87ab959ae0
Remove duplicated `set()` methods from SceneTreeDock
2024-02-03 10:01:27 +09:00
kobewi
a2c2caa2f4
Fix shortcut name consistency in SceneTreeDock
2024-02-01 22:40:23 +01:00
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