Add missing SNAME macro optimization for StringName in some functions
This commit is contained in:
parent
75697c0dfd
commit
54de7114c5
14 changed files with 33 additions and 33 deletions
|
|
@ -906,7 +906,7 @@ void EditorShaderPicker::set_create_options(Object *p_menu_node) {
|
|||
return;
|
||||
}
|
||||
|
||||
menu_node->add_icon_item(get_theme_icon("Shader", "EditorIcons"), TTR("New Shader"), OBJ_MENU_NEW_SHADER);
|
||||
menu_node->add_icon_item(get_theme_icon(SNAME("Shader"), SNAME("EditorIcons")), TTR("New Shader"), OBJ_MENU_NEW_SHADER);
|
||||
menu_node->add_separator();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue