1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00
Commit Graph

501 Commits

Author SHA1 Message Date
Haoyu Qiu
bf4e5cca3f Make editor's shortcut names translated on-site 2024-12-18 13:00:30 +08:00
Thaddeus Crews
9c9af038d5 Merge pull request #91060 from dalexeev/code-edit-add-doc-tooltips
Code Editor: Add documentation tooltips
2024-12-16 12:09:45 -06:00
Danil Alexeev
80d11500b5 Code Editor: Add documentation tooltips 2024-12-15 10:51:33 +03:00
Aaron Franke
298daa8b6f Expose EditorInspector.edit to scripting 2024-12-14 23:51:12 -08:00
Hilderin
4e19ab8afe Fix connecting a signal with a double click is too difficult
Co-authored-by: Danil Alexeev <dalexeev12@yandex.ru>
2024-12-14 16:18:34 +03:00
Bastiaan Olij
0a61ebdcea OpenXR: Add support for binding modifiers 2024-12-12 09:46:19 +11:00
Thaddeus Crews
b26f9f0380 Merge pull request #85275 from TheSofox/anchors-undo-fix
Correctly restore Control position on undoing an Anchors Preset
2024-12-10 14:15:47 -06:00
Thaddeus Crews
94711acfe1 Merge pull request #87375 from limbonaut/instantiate_property_editor
Export `EditorInspector::instantiate_property_editor` for use by plugins
2024-12-09 14:33:28 -06:00
Serhii Snitsaruk
803fa8f2e8 Export EditorInspector::instantiate_property_editor for use by plugins
And export useful properties and methods in the `EditorProperty` class.
2024-12-07 14:07:04 +01:00
Lukas Tenbrink
b5c31ebb41 Add contains_char() for single-character 'contains' calls. 2024-12-06 20:23:35 +01:00
Hugo Locurcio
e4106f8d61 Show String properties' text in a tooltip in the inspector
This allows previewing single-line or multipline strings
that are too long too fit within the box in the inspector.
2024-12-04 01:24:14 +01:00
A Thousand Ships
af56d6e8e8 Use SceneStringName in more places 2024-12-02 14:39:16 +01:00
Rémi Verschelde
8d3fc48abf Merge pull request #97521 from pafuent/enhance_scroll_container_focus
Add a focus border on `ScrollContainer`
2024-11-29 22:46:09 +01:00
Thaddeus Crews
7104f20634 Merge pull request #97986 from dustdfg/metadata/forbid_deleting_inherited_metadata
Editor: forbid deleting inherited metadata properties
2024-11-25 13:22:18 -06:00
Pablo Andres Fuente
86ea0127a3 Add a focus border on ScrollContainer
Also added new unit tests for `Control`.

Co-authored-by: ator-dev <dominic.codedeveloper@gmail.com>
2024-11-23 23:54:38 -03:00
jtcat
bead829fd5 Fix inspector section iteration in update_tree 2024-11-22 15:15:31 +00:00
A Thousand Ships
68f638cf02 Use (r)find_char instead of (r)find for single characters 2024-11-17 10:02:18 +01:00
Christopher Briggs
d1ba152197 Fix crash when inserting keyframes with empty properties array 2024-11-15 11:01:34 +01:00
Thaddeus Crews
ed3de25a9a Merge pull request #97415 from YeldhamDev/i_love_all_my_properties_equally
Make possible to favorite properties in the inspector
2024-11-11 14:17:57 -06:00
Aaron Franke
562c666e3d Rename internal Button icon to button_icon to match exposed methods 2024-10-29 16:23:03 -07:00
Michael Alexsander
d678b095f9 Make possible to favorite properties in the inspector 2024-10-28 21:18:21 -03:00
Yevhen Babiichuk (DustDFG)
edde380e9c Editor: forbid deleting inherited metadata properties
Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
Co-authored-by: Tomek <kobewi4e@gmail.com>
2024-10-19 09:51:12 +03:00
Rémi Verschelde
60708ccbfe Merge pull request #96542 from Maran23/inspector-scrolls-away
Fix Inspector may scroll away when editing a property that adds or removes sub properties
2024-10-01 17:30:45 +02:00
Haoyu Qiu
14321b8ed5 Set auto translate mode for drag previews
- Controls
  - `LineEdit`, `TextEdit`: Always disabled since it's dragging user input.
  - `TabBar`: Use the same auto translate mode as the node.
  - `RichTextLabel`: Always disable since auto translation is done
    differently from other controls (selection text you get
    programmatically is always after auto translation).
- Editor
  - Disable drag preview auto translation if the text is user input,
    filename, or class name.
  - Also disabled unexpected auto translation for audio bus effect names.
2024-09-19 19:21:29 +08:00
demolke
0468bea899 Add per-bone meta to Skeleton3D
Individual bones are not represented as `Node`s in Godot, in order to support meta functionality for them the skeleton has to carry the information similarly to how other per-bone properties are handled.
- Also adds support for GLTF import/export
2024-09-16 16:26:15 +02:00
Stuart Carnie
5cfacc8767 [Editor,Servers]: Minor optimizations 2024-09-12 06:22:04 +10:00
kit
5e1c9d68aa Extract editor main screen 2024-09-09 11:06:18 -04:00
Rémi Verschelde
7f6e1693dd Merge pull request #92407 from timothyqiu/section-dropping
Remove unused member variable in `EditorInspectorSection`
2024-09-04 11:16:28 +02:00
Marius Hanl
27b7b433e0 Fix Inspector may scrolls away when editing a property that adds or removes sub properties 2024-09-04 01:20:11 +02:00
Haoyu Qiu
8bf4ecc026 Add String.is_valid_unicode_identifier()
- Adds `is_valid_unicode_identifier()`
- Adds `is_valid_ascii_identifier()`
- Deprecates `is_valid_identifier()`
- Renames `validate_identifier()` to `validate_ascii_identifier()`
2024-08-27 11:34:08 +08:00
Aaron Franke
2e7526af42 Fix editor inspector crashing when the old object is no longer valid 2024-07-08 14:00:28 -07:00
Rémi Verschelde
d119e49902 Merge pull request #93627 from passivestar/inspector-unused-vboxes
Hide unused category vboxes in inspector
2024-06-26 18:15:24 +02:00
passivestar
025159f57e Hide unused category vboxes in inspector 2024-06-26 16:02:22 +04:00
kobewi
f0da5cac7b Always call _can_handle() before _parse_property() 2024-06-26 13:10:08 +02:00
passivestar
6bb58ca5ae Make inspector spacing more themable 2024-06-22 19:55:47 +04:00
Yuri Rubinsky
89dd7107d9 Fix theme updating of the inspector sections 2024-06-19 19:37:59 +03: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
A Thousand Ships
d519715d94 [Scene] Add SceneStringNames::font(_size/_color) 2024-06-18 17:24:27 +02:00
passivestar
2cd0f3584d Fix EditorProperty spacing 2024-06-12 18:02:24 +04:00
Valentin Cocaud
c31111f5ec Editor: Focus value editor on type change in Dictionary and Array editors 2024-06-04 16:51:29 +02:00
kobewi
be111004dd Fix default NodePaths saved in scene 2024-06-03 13:10:23 +02:00
A Thousand Ships
926afccbd8 [Scene] Add SceneStringNames::panel 2024-05-30 22:54:50 +02:00
A Thousand Ships
755a0efbb6 [Scene] Add SceneStringNames::id_pressed 2024-05-30 22:54:04 +02:00
Michael Alexsander
1bfcb6ee65 Set doc_name even when categories are hidden in the inspector
Otherwise, tooltips will fail to fetch descriptions.
2024-05-28 15:44:22 -03:00
Haoyu Qiu
d35053056e Remove unused member variable in EditorInspectorSection 2024-05-27 08:10:51 +08:00
Gilles Roudière
85eac45513 Display custom data name instead of indices in TileData inspector 2024-05-25 17:21:31 +02:00
Michael Alexsander
e1798f4278 Fix unchecking theme overrides not creating an undo action 2024-05-22 21:24:31 -03:00
kobewi
ba96affd6c Disable follow focus while updating inspector 2024-05-19 12:44:30 +02:00
A Thousand Ships
ee79386f7b [Scene] Add SceneStringNames::pressed 2024-05-14 15:51:28 +02:00