diff options
author | Yuri Sizov <yuris@humnom.net> | 2023-05-23 14:40:13 +0200 |
---|---|---|
committer | Yuri Sizov <yuris@humnom.net> | 2023-05-23 15:20:42 +0200 |
commit | edf47f1ee438a06729bf25c20851568f2875245f (patch) | |
tree | 07a17f478fc066c4f61149728af06da03a234b85 /editor/property_selector.cpp | |
parent | d5c1b9f883adbb54900c145eafcaa789d0fd563c (diff) | |
download | redot-engine-edf47f1ee438a06729bf25c20851568f2875245f.tar.gz |
Delay initialization of the visual shader editor UI
This makes sure that the theme is ready to be used before the
methods is called.
Also add missing icons (and update some existing).
Co-authored-by: Samuel Wilson <yokomeshi@gmail.com>
Diffstat (limited to 'editor/property_selector.cpp')
-rw-r--r-- | editor/property_selector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/property_selector.cpp b/editor/property_selector.cpp index 011aef5e83..737f81c157 100644 --- a/editor/property_selector.cpp +++ b/editor/property_selector.cpp @@ -144,7 +144,7 @@ void PropertySelector::_update_search() { search_options->get_theme_icon(SNAME("AABB"), SNAME("EditorIcons")), search_options->get_theme_icon(SNAME("Basis"), SNAME("EditorIcons")), search_options->get_theme_icon(SNAME("Transform3D"), SNAME("EditorIcons")), - search_options->get_theme_icon(SNAME("Variant"), SNAME("EditorIcons")), // Projection, needs icon. + search_options->get_theme_icon(SNAME("Projection"), SNAME("EditorIcons")), search_options->get_theme_icon(SNAME("Color"), SNAME("EditorIcons")), search_options->get_theme_icon(SNAME("StringName"), SNAME("EditorIcons")), search_options->get_theme_icon(SNAME("NodePath"), SNAME("EditorIcons")), |