You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Add missing SNAME macro optimization for StringName in some functions
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user