Blender V5.0
geometry_nodes_warning.cc
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2025 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
6#include "UI_resources.hh"
7
8namespace blender::nodes {
9
11{
12 switch (type) {
14 return ICON_CANCEL;
16 return ICON_ERROR;
18 return ICON_INFO;
19 }
21 return ICON_ERROR;
22}
23
25{
26 switch (type) {
28 return 3;
30 return 2;
32 return 1;
33 }
35 return 0;
36}
37
38} // namespace blender::nodes
#define BLI_assert_unreachable()
Definition BLI_assert.h:93
int node_warning_type_severity(const NodeWarningType type)
int node_warning_type_icon(const NodeWarningType type)