Geometry Nodes: Warning Node: Show icons on the enum
Adds the icons to the Warning Type enum, so users associate the icons with the type. Pull Request: https://projects.blender.org/blender/blender/pulls/128442
This commit is contained in:
@@ -568,9 +568,13 @@ const EnumPropertyItem rna_enum_shrinkwrap_face_cull_items[] = {
|
||||
};
|
||||
|
||||
const EnumPropertyItem rna_enum_node_warning_type_items[] = {
|
||||
{int(blender::nodes::geo_eval_log::NodeWarningType::Error), "ERROR", 0, "Error", ""},
|
||||
{int(blender::nodes::geo_eval_log::NodeWarningType::Warning), "WARNING", 0, "Warning", ""},
|
||||
{int(blender::nodes::geo_eval_log::NodeWarningType::Info), "INFO", 0, "Info", ""},
|
||||
{int(blender::nodes::geo_eval_log::NodeWarningType::Error), "ERROR", ICON_CANCEL, "Error", ""},
|
||||
{int(blender::nodes::geo_eval_log::NodeWarningType::Warning),
|
||||
"WARNING",
|
||||
ICON_ERROR,
|
||||
"Warning",
|
||||
""},
|
||||
{int(blender::nodes::geo_eval_log::NodeWarningType::Info), "INFO", ICON_INFO, "Info", ""},
|
||||
{0, nullptr, 0, nullptr, nullptr},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user