summaryrefslogtreecommitdiffstats
path: root/editor/editor_inspector.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #91538 from kitbdev/fix-inspector-exit-crashRémi Verschelde2024-05-071-11/+2
|\ | | | | | | Fix EditorInspector crash when exiting
| * Fix EditorInspector crash when exitingkit2024-05-031-11/+2
| |
* | Reduce and prevent unnecessary random-access to `List`A Thousand Ships2024-05-041-4/+4
|/ | | | | | | | | 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
* Add colored margin in Inspector for arrays and dictionaries.ajreckof2024-05-031-25/+46
| | | | | | | Apply suggestions from code review Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> Co-Authored-By: Tomek <kobewi4e@gmail.com>
* Merge pull request #91168 from kitbdev/docks-dont-edit-current-v2Rémi Verschelde2024-04-301-2/+4
|\ | | | | | | Don't edit current when changing docks v2
| * Don't edit current when changing docks v2kit2024-04-251-2/+4
| |
| * Revert "Don't edit current when changing docks"Rémi Verschelde2024-04-231-4/+3
| | | | | | | | | | This reverts commit 55711b2ee849163135640cda0f00fcdcb0819af5. Fixes #91046.
| * Merge pull request #90816 from kitbdev/dock-dont-edit-currentRémi Verschelde2024-04-221-3/+4
| |\ | | | | | | | | | Don't edit current when changing docks
| | * Don't edit current when changing dockskit2024-04-191-3/+4
| | |
* | | Implement tooltips for shader uniform in the inspector.Magian2024-04-261-1/+6
|/ / | | | | | | using regular expressions
* / Editor: Display deprecated/experimental messages in tooltipsDanil Alexeev2024-04-181-28/+37
|/
* Fix theme_override tooltip cachingaaronp642024-04-091-11/+11
| | | | | | theme_override properties have some special handling in EditorInspector. When caching documentation info for properties, the theme_item_name value (used only for theme_overrides) was not being cached, so it would only be included on first use. This meant that theme_override property tooltips would show up in the editor the first time a node was selected, but not again after selecting something else/reselecting. Added theme_item_name to caching to fix this. Fixes #90395
* Add context support for editor property name i18nHaoyu Qiu2024-03-311-5/+5
|
* Merge pull request #89631 from dalexeev/editor-fix-inspector-groups-interferingRémi Verschelde2024-03-241-0/+3
|\ | | | | | | Editor: Fix same-name (sub)groups interfering in Inspector
| * Editor: Fix same-name (sub)groups interfering in InspectorDanil Alexeev2024-03-181-0/+3
| | | | | | | | Clear (sub)group hashmaps when changing category.
* | Use `Vector*` component-wise `min/max/clamp` functions where applicableA Thousand Ships2024-03-201-4/+2
|/
* Speed up inspector updates for TileMapkobewi2024-03-071-0/+4
|
* Make editing properties more intuitive in VisualShaderHendrik Brucker2024-03-051-8/+12
|
* Add const lvalue ref to editor/* container parametersMuller-Castro2024-02-261-5/+5
|
* Inspector changes indicator propagates upwardsRedMser2024-02-251-5/+22
|
* Merge pull request #69032 from ↵Rémi Verschelde2024-02-201-1/+4
|\ | | | | | | | | | | KoBeWi/check_every_changed_setting_in_every_group_everywhere() Use `check_changed_settings_in_group()` everywhere
| * Use check_changed_settings_in_group() everywherekobewi2024-02-191-1/+4
| |
* | Remove error when property is outside inspectorkobewi2024-02-201-1/+1
|/
* Revert "Allow configuration warnings to refer to a property"Rémi Verschelde2024-02-171-96/+0
| | | | This reverts commit bf37a9bac6ebfb09c0a374260c35ede8373ce427.
* Revert "Only update inspector if configuration warning change relevant"Rémi Verschelde2024-02-171-44/+1
| | | | This reverts commit a53793472e4ed61e68405044beb6325a33ac5814.
* Editor: Fix skipping normal category followed by custom oneDanil Alexeev2024-02-141-1/+3
|
* Merge pull request #88182 from RedMser/fix-88176-inspectorRémi Verschelde2024-02-131-1/+44
|\ | | | | | | Only update inspector if configuration warning change was relevant
| * Only update inspector if configuration warning change relevantRedMser2024-02-101-1/+44
| | | | | | | | Fixes #88176
* | Merge pull request #85868 from KoBeWi/knowyourtilesRémi Verschelde2024-02-131-1/+20
|\ \ | |/ |/| | | Add descriptions for tile properties
| * Add descriptions for tile propertieskobewi2023-12-071-1/+20
| |
* | Replace error checks against `size` with `is_empty`A Thousand Ships2024-02-091-1/+1
| |
* | Allow configuration warnings to refer to a propertyRedMser2024-02-081-0/+96
| | | | | | | | | | This is used by the inspector so it can show a warning icon on a specific property.
* | Editor: Fix `_parse_category()` is not called for custom categoriesDanil Alexeev2024-02-031-37/+37
| |
* | Merge pull request #87688 from AThousandShips/what_is_thisRémi Verschelde2024-01-291-2/+2
|\ \ | | | | | | | | | Remove unnecessary `this->` expressions
| * | Remove unnecessary `this->` expressionsA Thousand Ships2024-01-291-2/+2
| | |
* | | Better hide internal properties from usersYuri Sizov2024-01-291-3/+15
|/ /
* | Split theme generation logic into several subroutinesYuri Sizov2024-01-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change introduces a new theme configuration struct to be passed to the aforementioned routines to better control reuse of styles and definitions in the generator. Everything not passed and not explicitly shared is scoped so it is not automatically accessible throughout the routine. This should ensure that the decision to share styles is a conscious one. In the future we will try to reduce the number of unique definitions and share most of it. This PR is a stepping stone on this path. This also puts the effort into separating redefinitions of default theme items vs custom types introduced only by the editor. In a few cases where editor-specific definitions need to reference default definitions we simply fetch them from the theme. It's not ideal and hides the dependency a bit, but hopefully these cases will be abstracted properly in due time.
* | Reorganize code related to editor themingYuri Sizov2024-01-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Update deferred calls to use Callableskobewi2024-01-091-5/+4
| |
* | Merge pull request #78960 from kleonc/inspector-follow-focusRémi Verschelde2024-01-041-0/+1
|\ \ | | | | | | | | | Make editor inspector follow focus
| * | Make editor inspector follow focuskleonc2023-07-021-0/+1
| | |
* | | Merge pull request #84445 from Rubonnek/add-const-references-clang-tidyRémi Verschelde2024-01-041-1/+1
|\ \ \ | | | | | | | | | | | | Add const references detected by clang-tidy
| * | | Add const references detected by clang-tidyWilson E. Alvarez2023-12-161-1/+1
| | |/ | |/|
* / | Improve editing of min/max particle propertieskobewi2023-12-201-0/+3
|/ /
* | Add bulk change guards to successive theme overrides in Editor and GUIYuri Sizov2023-10-191-0/+4
| |
* | Editor: Fix some issues with `EditorHelpTooltip`Danil Alexeev2023-10-101-4/+16
| |
* | Allow contextual plugins to persist temporarilykobewi2023-10-061-0/+9
| |
* | Add vararg call() method to C++ Callablekobewi2023-10-051-20/+4
| |
* | Revamp how documentation tooltips workMichael Alexsander2023-10-031-124/+58
| |
* | Use theme icon size when calculating category minimum sizeJack Wilsdon2023-09-291-1/+2
| | | | | | | | | | | | | | This previously used the underlying size of the icon, causing the category to grow incorrectly when re-rendered. Fixes #82527