You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Add EditorStringNames singleton
This commit is contained in:
@@ -51,8 +51,8 @@ void MeshEditor::gui_input(const Ref<InputEvent> &p_event) {
|
||||
void MeshEditor::_update_theme_item_cache() {
|
||||
SubViewportContainer::_update_theme_item_cache();
|
||||
|
||||
theme_cache.light_1_icon = get_theme_icon(SNAME("MaterialPreviewLight1"), SNAME("EditorIcons"));
|
||||
theme_cache.light_2_icon = get_theme_icon(SNAME("MaterialPreviewLight2"), SNAME("EditorIcons"));
|
||||
theme_cache.light_1_icon = get_editor_theme_icon(SNAME("MaterialPreviewLight1"));
|
||||
theme_cache.light_2_icon = get_editor_theme_icon(SNAME("MaterialPreviewLight2"));
|
||||
}
|
||||
|
||||
void MeshEditor::_notification(int p_what) {
|
||||
|
||||
Reference in New Issue
Block a user