26 switch (report.
type) {
41 return ICON_STATUS_ERROR_FILLED;
43 return ICON_STATUS_WARNING_FILLED;
45 return ICON_STATUS_INFO_FILLED;
48 return ICON_STATUS_ERROR_FILLED;
67 const char *name =
nullptr;
77 switch (propagation) {
#define BLT_I18NCONTEXT_DEFAULT
#define BLI_assert_unreachable()
int node_warning_type_severity(const NodeWarningType type)
int node_warning_type_icon(const NodeWarningType type)
bool warning_is_propagated(const NodeWarningPropagation propagation, const NodeWarningType warning_type)
StringRefNull node_warning_type_name(const NodeWarningType type)
BLI_assert(slot->slot_subtype.map==BMO_OP_SLOT_SUBTYPE_MAP_FLT)
const EnumPropertyItem rna_enum_node_warning_type_items[]
@ NODE_WARNING_PROPAGATION_NONE
@ NODE_WARNING_PROPAGATION_ONLY_ERRORS_AND_WARNINGS
@ NODE_WARNING_PROPAGATION_ALL
@ NODE_WARNING_PROPAGATION_ONLY_ERRORS
bool RNA_enum_name_gettexted(const EnumPropertyItem *item, int value, const char *translation_context, const char **r_name)