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).
This commit is contained in:
Pablo Vazquez 2020-12-03 20:21:09 +01:00
parent f3b08af24c
commit 82e401031f
1 changed files with 1 additions and 1 deletions

View File

@ -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;