summaryrefslogtreecommitdiff
path: root/editor/editor_inspector.cpp
AgeCommit message (Collapse)Author
2023-02-20Apply inspector read_only only when changedkobewi
2023-02-19Merge pull request #71398 from honix/property-revert-release-focusRémi Verschelde
Fix property revert doesn't revert selected fields
2023-02-17Merge pull request #73381 from KoBeWi/works_better_than_expected_huhYuri Sizov
Fold resources when non-main inspector exits tree
2023-02-15Fold resources when non-main inspector exits treekobewi
2023-02-15Fixes revert button on exported node properties on inherited nodes.SaracenOne
2023-02-11Avoid cleaning up editor plugins when property list changesYuri Sizov
Also removes a usability hack from the Theme editor, as it doesn't work anymore, and it confuses the Inspector.
2023-02-07Prepare for moving editor and classref translations to godot-editor-l10n repoHaoyu Qiu
- 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.
2023-01-31Use `PropertyUsageFlags` enum in parse_propertyRaul Santos
2023-01-25Merge pull request #71330 from Geometror/richtextlabel-fit-contentRémi Verschelde
[RichTextLabel] Match minimum size calculation of Label (proper content fitting)
2023-01-22Merge pull request #71770 from KoBeWi/better_editing_or_somethingRémi Verschelde
Rework EditorPlugin editing logic
2023-01-22Rework EditorPlugin editing logickobewi
2023-01-21Use range iterators in LocalVector loopskobewi
2023-01-18Merge pull request #71379 from KoBeWi/destruction_of_compatibility_functionRémi Verschelde
Remove set_drag_forwarding_compat()
2023-01-16Add EditorUndoRedoManager singletonkobewi
2023-01-14Fix property revert doesn't revert selected fieldsFedor Shchukin
2023-01-14Remove set_drag_forwarding_compat()kobewi
2023-01-13Merge pull request #70148 from KoBeWi/remove_all_restrictionsRémi Verschelde
Remove conditons for unfolding inspector sections
2023-01-13[RichTextLabel] Match minimum size calculation of LabelHendrik Brucker
(optional via fit_content property)
2023-01-10Change set_drag_forwarding() to use callables.Juan Linietsky
* 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
2023-01-08Use BitField<> in core type masksJuan Linietsky
* 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.
2023-01-05One Copyright Update to rule them allRémi Verschelde
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".
2023-01-04Revert "Merge pull request #70696 from Rindbee/propagate-keying-state"Silc Renew
This reverts commit c774b4ce1777d19789bec1cbef100f26c6927777, reversing changes made to ccc609d824802d1d1a20f34bda69ecac75f5a8a1.
2023-01-04Revert "Merge pull request #68498 from Rindbee/improve-update_tree"Silc Renew
This reverts commit d5dc70a47871701fc61804b0b75362f5dcdf0055, reversing changes made to ccbefa1f4316c46eed35912e954fdf0e8c88c01a.
2022-12-31Propagate the keying state in the inspectorRindbee
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.
2022-12-22Revert "Queue inspector tree update when changing the theme."Rémi Verschelde
This reverts commit c0baec410b0617ddb36c278230f3b60da1444af6. See comments in #70381.
2022-12-21Merge pull request #70261 from Maran23/4-x-editor-inspector-section-clickRémi Verschelde
EditorInspectorSection is not (un)folded when clicking under the font
2022-12-21Queue inspector tree update when changing the theme.Marius Hanl
2022-12-18EditorInspectorSection is not folded when clicking under the fontMarius Hanl
2022-12-17Defer `EditorInspector::update_tree` to the process stage to improve performanceRindbee
`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).
2022-12-16Remove conditons for unfolding inspector sectionskobewi
2022-11-29Merge pull request #67814 from opl-/fix/editor-inspector-accept-eventRémi Verschelde
Fix editor inspector classes not accepting events
2022-11-29Use forward-declarations in big editor classestrollodel
2022-11-23Fix for documentation not appearing in preview in editor inspectorBrunoSXS
2022-11-02Unify usage of undo_redo in editorkobewi
2022-10-31Merge pull request #67578 from KoBeWi/GEDITORRémi Verschelde
Unify usage of GLOBAL/EDITOR_GET
2022-10-31Merge pull request #67588 from KoBeWi/if(!GDVIRTUAL_CALL)don'tRémi Verschelde
Simplify GDVIRTUAL_CALL calls
2022-10-31Fix `EditorInspector.property_changed` signal connectionDanil Alexeev
2022-10-23Fix editor inspector classes not accepting eventsopl-
2022-10-19Simplify GDVIRTUAL_CALL callskobewi
2022-10-18Unify usage of GLOBAL/EDITOR_GETkobewi
2022-10-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-09-30Rename Copy Property –> Copy ValueVolTer
2022-09-30Fix typos with codespellRémi Verschelde
Using codespell 2.3-dev from current git. And fix typo in `methods.py` for `vsproj=yes` option (still won't work though).
2022-09-21Fix EditorInspectorCategory minimum size calculationRindbee
Calculated using the same theme property values as in `NOTIFICATION_DRAW`, keeping the width at `0` and calculating only the height.
2022-09-19Merge pull request #66108 from Zylann/editor_inspector_get_selected_pathRémi Verschelde
Expose `EditorInspector.get_selected_path`
2022-09-19Expose `EditorInspector.get_selected_path`Marc Gilleron
2022-09-19Expose `EditorProperty._set_read_only` virtual methodMarc Gilleron
2022-09-16Merge pull request #60786 from Rindbee/update-editor-property-statusRémi Verschelde
Update checked based on the variant type of the value
2022-09-16Merge pull request #65868 from timothyqiu/metadata-crashRémi Verschelde
Fix crash open opening Add Metadata dialog
2022-09-16Fix crash open opening Add Metadata dialogHaoyu Qiu