Files
test/source/blender/nodes/NOD_geometry_nodes_warning.hh
Jacques Lucke 6f83928c6b Refactor: Geometry Nodes: extract warning type to separate file
It should be possible to use this type without having to include the
entire logging system.
2025-05-27 05:50:44 +02:00

20 lines
435 B
C++

/* SPDX-FileCopyrightText: 2025 Blender Authors
*
* SPDX-License-Identifier: GPL-2.0-or-later */
#pragma once
namespace blender::nodes {
/** These values are also written to .blend files, so don't change them lightly. */
enum class NodeWarningType {
Error = 0,
Warning = 1,
Info = 2,
};
int node_warning_type_icon(NodeWarningType type);
int node_warning_type_severity(NodeWarningType type);
} // namespace blender::nodes