godot/scene/theme
aaronp64 7593e55527 Improve Editor Inspector/Theme item lookup performance
Changes to reduce the latency between changing node selection in the editor and seeing the new node reflected in the Inspector tab

- Use Vector instead of List for ThemeOwner::get_theme_type_dependencies and related functions
- Use Vector instead of List for ThemeContext::themes, set_themes(), and get_themes()
- Add ClassDB:get_inheritance_chain_nocheck to get all parent/ancestor classes at once, to avoid repeated ClassDB locking overhead
- Update BIND_THEME_ITEM macros and ThemeDB::update_class_instance_items to use provided StringNames for call to ThemeItemSetter, instead of creating a new StringName in each call

These changes reduce the time taken by EditorInspector::update_tree by around 30-35%
2024-08-20 13:39:40 -04:00
..
icons Style: Optimize `.svg` files with `svgo` 2024-06-23 08:15:19 -05:00
SCsub Update pre-commit hooks configuration to use `ruff` instead of `black` 2024-05-21 18:02:29 -05:00
default_theme.cpp [Scene] Add `SceneStringNames::font(_size/_color)` 2024-06-18 17:24:27 +02:00
default_theme.h
default_theme_builders.py SCons: Remove `run_in_subprocess` dependency 2024-03-11 13:20:09 -05:00
theme_db.cpp Improve Editor Inspector/Theme item lookup performance 2024-08-20 13:39:40 -04:00
theme_db.h Improve Editor Inspector/Theme item lookup performance 2024-08-20 13:39:40 -04:00
theme_owner.cpp Improve Editor Inspector/Theme item lookup performance 2024-08-20 13:39:40 -04:00
theme_owner.h Improve Editor Inspector/Theme item lookup performance 2024-08-20 13:39:40 -04:00