From 82e401031fd12962cdf61e5334197aa013f65ec9 Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Thu, 3 Dec 2020 20:21:09 +0100 Subject: UI: Fix Node Groups color in Geometry Nodes Node Groups didn't have a category assigned so they looked like inputs (red) instead of the Node Group theme color (green by default). --- source/blender/nodes/geometry/nodes/node_geo_common.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') diff --git a/source/blender/nodes/geometry/nodes/node_geo_common.cc b/source/blender/nodes/geometry/nodes/node_geo_common.cc index 8adc3962698..441ad6bdc13 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_common.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_common.cc @@ -26,7 +26,7 @@ void register_node_type_geo_group(void) { static bNodeType ntype; - node_type_base_custom(&ntype, "GeometryNodeGroup", "Group", 0, 0); + node_type_base_custom(&ntype, "GeometryNodeGroup", "Group", NODE_CLASS_GROUP, 0); ntype.type = NODE_GROUP; ntype.poll = geo_node_poll_default; ntype.poll_instance = node_group_poll_instance; -- cgit v1.2.3