Commit graph

144 commits

Author SHA1 Message Date
Haoyu Qiu
3f03260a21 Cleanup editor translation related methods
- Unify logic for loading editor/property/doc/extractable translations.
- Replace legacy `TranslationServer` methods with translation domains for internal translations.
- Only pre-create editor/property/doc translation domains in editor builds.
- Prevent adding `null` translation.
- Fixes potential loading of duplicated editor translations.
- Add internal `has_translation_for_locale()` instead of calling `get_loaded_translations().has()`.
2025-09-18 20:27:09 +08:00
arkology
6d0ac84a46 Expand LineEdit with metadata name in AddMetadataDialog 2025-09-17 21:47:02 +03:00
Thaddeus Crews
4eaa0ef1e7
Merge pull request #110434 from YeldhamDev/inspector_button_tidyup
Improve look of some buttons inside the inspector
2025-09-17 11:34:09 -05:00
kobewi
a3cb0bd2a3 Improve editor language selector 2025-09-16 01:11:42 +02:00
Haoyu Qiu
78e3b44eb2 Removed unused member variables in EditorInspector 2025-09-15 15:29:25 +08:00
Haoyu Qiu
0c52406758 Make editor property clipboard static 2025-09-15 15:25:28 +08:00
Michael Alexsander
06b155a18c
Improve look of some buttons inside the inspector 2025-09-14 12:29:55 -03:00
Vinnie Gray
47756c9689 Fix vertical alignment of Inspector category titles 2025-09-11 08:35:22 +12:00
StarryWorm
45f089a143 Enable objects stored as dictionary keys to be selected in inspector.
Currently, when using the stack trace or the remote scene tree and selecting an
object containing a dictionary, secondary objects that are stored as values in
the dictionary can be opened in inspector by clicking on them. However,
attempting to open the same secondary object if it is stored as a key in the
dictionary will result in nothing happening.

This is fixed by connecting keys to the "object_id_selected" signal the same
way values are connected.
2025-09-06 10:04:33 -04:00
Björn
8798387770 Improve identification of edits on property Object->script
Narrows down the criteria to determine if the property being edited with the `EditorResourcePicker` is actually the `Object->script` property.
2025-09-03 17:38:56 +02:00
Pāvels Nadtočajevs
be443e41bb
Use placeholder instead of value for tooltips of PROPERTY_HINT_PASSWORD properties. 2025-09-01 16:46:00 +03:00
Mike Precup
1c8e3f9037 Speed up large selections in the editor 2025-08-31 14:25:44 -07:00
Aaron Franke
7991b60681
Remove unused "default" range hint min/max 2025-08-22 12:26:30 -07:00
Pāvels Nadtočajevs
95b71e19d5
Fix editor resource tooltip crash on broken symlinks. 2025-08-19 12:46:54 +03:00
风青山
39141e7b9c
Disallow clicking to toggle the checkbox of a theme override of type Resource to checked
These resources are external, but can be further categorized as follows:

1. Imported resource;
2. Embedded resource (no resource path, provided by the engine);
3. Other text-based resource.

Resources of different categorie may need different strategies.

Currently, for resource types, it is up to the user to decide what to do
next.  Clicking to toggle checkboxes is not allowed, but you can still
manipulate resources through the `EditorResourcePicker`'s context menu
(right-click on a resource in the inspector or click the down arrow icon
next to the resource to open the menu).
2025-08-13 16:19:42 +08:00
Pāvels Nadtočajevs
90da041683
Show symlink target in the resource tooltip. 2025-08-11 16:55:57 +03:00
Giganzo
b2e314e870 Add icon & clear button to Select Method dialog search bar 2025-08-07 13:33:20 +02:00
Thaddeus Crews
f7de98ad2e
Merge pull request #109294 from timothyqiu/flags-atr
Disable auto translation of flag names in the inspector
2025-08-04 12:04:20 -05:00
Haoyu Qiu
0b156980f3 Disable auto translation of flag names in the inspector 2025-08-04 16:09:07 +08:00
Haoyu Qiu
5593ac4e3b Fix some inspector action buttons not updating icon when theme changes 2025-08-04 15:30:36 +08:00
Thaddeus Crews
c720789b83
Merge pull request #107748 from ydeltastar/fix-eval-properties
Fix `Evaluator`'s format issues caused by special characters in the expression
2025-08-03 10:51:07 -05:00
Thaddeus Crews
761f8df597
Merge pull request #109016 from Rindbee/use-undo_redo-to-track-property-changes
Use `EditorUndoRedoManager` to track the property changes of the configured `InputEvent` in the plugin
2025-08-01 11:45:20 -05:00
kobewi
4d9b9523c9 Fix inconsistent thumbnail width 2025-08-01 15:32:00 +02:00
ydeltastar
7c31b8f6ea
Fix Evaluator's format issues caused by special characters in the expression 2025-07-31 12:22:17 -03:00
Jojo-1000
ab178719d9 Mark methods for various classes as required 2025-07-30 19:24:56 +02:00
Pāvels Nadtočajevs
838cb0eefc
[macOS] Add support for exporting macOS 26 Liquid Glass icons. 2025-07-28 14:35:48 +03:00
风青山
95403207e8
Use EditorUndoRedoManager to track the property changes of the
configured `InputEvent` in the plugin

This allows undo and redo, and can mark in time whether the handled
`InputEvent` resource is edited.

`command_or_control_autoremap` needs to be handled separately, as
its value will change the usage of other properties.
2025-07-27 13:57:16 +08:00
Haoyu Qiu
3df6492a6e Fix i18n for array property custom add button text 2025-07-23 09:41:33 +08:00
Thaddeus Crews
40f107de9f
Merge pull request #108721 from Giganzo/hidden-scrollbar
Fix hidden scrollbar in editor settings
2025-07-22 11:20:07 -05:00
Giganzo
02da380903 Fix bad text contrast on readonly EditorPropertyArray/Dict/Res 2025-07-22 14:27:10 +02:00
Giganzo
7f23baa79d Fix hidden scrollbar in editor settings 2025-07-17 20:39:49 +02:00
Lindo
529a5a3512 Fix error when dragging non-resource file 2025-07-16 11:23:09 +02:00
Thaddeus Crews
d5cb0f948e
Merge pull request #108478 from KoBeWi/phantom_paths
Fix export path "leaking" between presets
2025-07-14 10:30:42 -05:00
Thaddeus Crews
1713a8ddc8
Merge pull request #108533 from YeldhamDev/get_owned
Fix unwanted resource duplication in the theme editor
2025-07-14 10:30:35 -05:00
Thaddeus Crews
f0b4ebb7ea
Merge pull request #108555 from beicause/fix-crash-editing-resource-and-reloading-scene
Fix crash when editing some resources and reloading scene
2025-07-14 10:30:29 -05:00
LuoZhihao
6ba1a1e758 Fix crash when editing some resources and reloading scene 2025-07-13 01:16:20 +08:00
Michael Alexsander
e924d2b565
Fix unwanted resource duplication in the theme editor 2025-07-12 12:39:55 -03:00
kobewi
4753ca4219 Fix export path "leaking" between presets 2025-07-10 15:18:34 +02:00
Giganzo
7c77df3c69 Fix Inspector checkable button sizing 2025-07-09 19:47:11 +02:00
Thaddeus Crews
bb4763e255
Merge pull request #108377 from timothyqiu/inspector-plugin-full
Fix can't remove inspector plugins after reaching max count
2025-07-07 10:08:02 -05:00
Haoyu Qiu
bbd7c9b5f2 Fix can't remove inspector plugins after reaching max count 2025-07-07 20:52:54 +08:00
Logan Detrick
e9c5c713c9 Fix Group Enable Hover Display 2025-07-05 12:43:46 -07:00
Haoyu Qiu
a805b0c658 Show description for editor settings overrides
Also marked the "Editor Overrides" section name for translation.
2025-07-05 14:44:17 +08:00
A Thousand Ships
f11aff3841
Editor: Restructure editor code
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00