summaryrefslogtreecommitdiffstats
path: root/editor/editor_inspector.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add missing TTRs in tiles editor and array inspectorHaoyu Qiu2023-03-091-5/+5
|
* Apply inspector read_only only when changedkobewi2023-02-201-0/+3
|
* Merge pull request #71398 from honix/property-revert-release-focusRémi Verschelde2023-02-191-0/+1
|\ | | | | | | Fix property revert doesn't revert selected fields
| * Fix property revert doesn't revert selected fieldsFedor Shchukin2023-01-141-0/+1
| |
* | Merge pull request #73381 from KoBeWi/works_better_than_expected_huhYuri Sizov2023-02-171-6/+18
|\ \ | | | | | | Fold resources when non-main inspector exits tree
| * | Fold resources when non-main inspector exits treekobewi2023-02-151-6/+18
| | |
* | | Fixes revert button on exported node properties on inherited nodes.SaracenOne2023-02-151-1/+1
|/ /
* | Avoid cleaning up editor plugins when property list changesYuri Sizov2023-02-111-8/+12
| | | | | | | | | | Also removes a usability hack from the Theme editor, as it doesn't work anymore, and it confuses the Inspector.
* | Prepare for moving editor and classref translations to godot-editor-l10n repoHaoyu Qiu2023-02-071-2/+2
| | | | | | | | | | | | | | | | | | - Separate editor interface and property translations. - Add property translation in TranslationServer. - The split and merge of the POT/PO/Makefiles and extract scripts is done directly in godot-editor-l10n, the files will be removed in the next commit. - Remove the hardcoded "to_include" lists from the SCsub, we'll only commit the files which are ready to inclue.
* | Use `PropertyUsageFlags` enum in parse_propertyRaul Santos2023-01-311-1/+1
| |
* | Merge pull request #71330 from Geometror/richtextlabel-fit-contentRémi Verschelde2023-01-251-1/+1
|\ \ | | | | | | | | | [RichTextLabel] Match minimum size calculation of Label (proper content fitting)
| * | [RichTextLabel] Match minimum size calculation of LabelHendrik Brucker2023-01-131-1/+1
| | | | | | | | | | | | (optional via fit_content property)
* | | Merge pull request #71770 from KoBeWi/better_editing_or_somethingRémi Verschelde2023-01-221-0/+12
|\ \ \ | | | | | | | | | | | | Rework EditorPlugin editing logic
| * | | Rework EditorPlugin editing logickobewi2023-01-221-0/+12
| | | |
* | | | Use range iterators in LocalVector loopskobewi2023-01-211-2/+1
|/ / /
* | | Merge pull request #71379 from KoBeWi/destruction_of_compatibility_functionRémi Verschelde2023-01-181-5/+1
|\ \ \ | | | | | | | | Remove set_drag_forwarding_compat()
| * | | Remove set_drag_forwarding_compat()kobewi2023-01-141-5/+1
| | |/ | |/|
* / | Add EditorUndoRedoManager singletonkobewi2023-01-161-30/+21
|/ /
* | Merge pull request #70148 from KoBeWi/remove_all_restrictionsRémi Verschelde2023-01-131-20/+4
|\ \ | |/ |/| | | Remove conditons for unfolding inspector sections
| * Remove conditons for unfolding inspector sectionskobewi2022-12-161-20/+4
| |
* | Change set_drag_forwarding() to use callables.Juan Linietsky2023-01-101-1/+1
| | | | | | | | | | | | | | | | * This solution is much cleaner than the one in 3.x thanks to the use of callables. * Works without issues in any language (no need to worry about camel or snake case). * Editor code uses a compatibility function (too much work to redo). Fixes #59899
* | Use BitField<> in core type masksJuan Linietsky2023-01-081-1/+1
| | | | | | | | | | | | | | | | * All core types masks are now correctly marked as bitfields. * The enum hacks in MouseButtonMask and many other types are gone. This ensures that binders to other languages non C++ can actually implement type safe bitmasks. * Most bitmask operations replaced by functions in BitField<> * Key is still a problem because its enum and mask at the same time. While it kind of works in C++, this most likely can't be implemented safely in other languages and will have to be changed at some point. Mostly left as-is. * Documentation and API dump updated to reflect bitfields in core types.
* | One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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".
* | Revert "Merge pull request #70696 from Rindbee/propagate-keying-state"Silc Renew2023-01-041-4/+1
| | | | | | | | | | This reverts commit c774b4ce1777d19789bec1cbef100f26c6927777, reversing changes made to ccc609d824802d1d1a20f34bda69ecac75f5a8a1.
* | Revert "Merge pull request #68498 from Rindbee/improve-update_tree"Silc Renew2023-01-041-6/+3
| | | | | | | | | | This reverts commit d5dc70a47871701fc61804b0b75362f5dcdf0055, reversing changes made to ccbefa1f4316c46eed35912e954fdf0e8c88c01a.
* | Propagate the keying state in the inspectorRindbee2022-12-311-1/+4
| | | | | | | | | | | | Toggling the keying state does not significantly change the structure of the inspector. So it's ok to propagate the keying state and then use `queue_redraw()` to update the keying icon.
* | Revert "Queue inspector tree update when changing the theme."Rémi Verschelde2022-12-221-4/+0
| | | | | | | | | | | | This reverts commit c0baec410b0617ddb36c278230f3b60da1444af6. See comments in #70381.
* | Merge pull request #70261 from Maran23/4-x-editor-inspector-section-clickRémi Verschelde2022-12-211-59/+48
|\ \ | | | | | | | | | EditorInspectorSection is not (un)folded when clicking under the font
| * | EditorInspectorSection is not folded when clicking under the fontMarius Hanl2022-12-181-59/+48
| | |
* | | Queue inspector tree update when changing the theme.Marius Hanl2022-12-211-0/+4
|/ /
* / Defer `EditorInspector::update_tree` to the process stage to improve performanceRindbee2022-12-171-3/+6
|/ | | | | `EditorInspector::update_tree` is expensive, so defer the call to the process phase to prevent multiple calls in a single frame (when switching scene tabs).
* Merge pull request #67814 from opl-/fix/editor-inspector-accept-eventRémi Verschelde2022-11-291-0/+8
|\ | | | | | | Fix editor inspector classes not accepting events
| * Fix editor inspector classes not accepting eventsopl-2022-10-231-0/+8
| |
* | Use forward-declarations in big editor classestrollodel2022-11-291-3/+3
| |
* | Fix for documentation not appearing in preview in editor inspectorBrunoSXS2022-11-231-1/+14
| |
* | Unify usage of undo_redo in editorkobewi2022-11-021-11/+9
| |
* | Merge pull request #67578 from KoBeWi/GEDITORRémi Verschelde2022-10-311-3/+3
|\ \ | | | | | | | | | Unify usage of GLOBAL/EDITOR_GET
| * | Unify usage of GLOBAL/EDITOR_GETkobewi2022-10-181-3/+3
| |/
* | Merge pull request #67588 from KoBeWi/if(!GDVIRTUAL_CALL)don'tRémi Verschelde2022-10-311-8/+4
|\ \ | | | | | | | | | Simplify GDVIRTUAL_CALL calls
| * | Simplify GDVIRTUAL_CALL callskobewi2022-10-191-8/+4
| |/
* / Fix `EditorInspector.property_changed` signal connectionDanil Alexeev2022-10-311-1/+1
|/
* Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg2022-10-071-16/+16
| | | | change warnings=all to use /W4.
* Rename Copy Property –> Copy ValueVolTer2022-09-301-11/+11
|
* Fix typos with codespellRémi Verschelde2022-09-301-1/+1
| | | | | | | Using codespell 2.3-dev from current git. And fix typo in `methods.py` for `vsproj=yes` option (still won't work though).
* Fix EditorInspectorCategory minimum size calculationRindbee2022-09-211-3/+2
| | | | Calculated using the same theme property values as in `NOTIFICATION_DRAW`, keeping the width at `0` and calculating only the height.
* Merge pull request #66108 from Zylann/editor_inspector_get_selected_pathRémi Verschelde2022-09-191-0/+1
|\ | | | | | | Expose `EditorInspector.get_selected_path`
| * Expose `EditorInspector.get_selected_path`Marc Gilleron2022-09-191-0/+1
| |
* | Expose `EditorProperty._set_read_only` virtual methodMarc Gilleron2022-09-191-0/+5
|/
* Merge pull request #60786 from Rindbee/update-editor-property-statusRémi Verschelde2022-09-161-13/+25
|\ | | | | | | Update checked based on the variant type of the value
| * Update checked based on the variant type of the valueRindbee2022-09-161-13/+25
| | | | | | | | | | | | | | | | In `EditorProperty::update_revert_and_pin_status`, if `checkable` is `true`, update `checked` based on the variant type of the value, and rename the function as `EditorProperty::update_editor_property_status`. **Known problems:** 1. Unable to check Checkbox for properties of type `Object` when it is unchecked. This is probably because during value store/fetch, the `nullptr` (variant type is `Variant::OBJECT`) eventually becomes `Variant()` (variant type is `Variant::NIL`). 2. For theme overrides, click the revert icon will uncheck the Checkbox. This is probably because `EditorPropertyRevert::get_property_revert_value` returns `Variant()`.