diff options
author | Pablo Vazquez <pablo@blender.org> | 2020-12-03 22:21:09 +0300 |
---|---|---|
committer | Pablo Vazquez <pablo@blender.org> | 2020-12-03 22:21:09 +0300 |
commit | 82e401031fd12962cdf61e5334197aa013f65ec9 (patch) | |
tree | f7456ca45ea1c90cdba41329773e5e263854c7fb /source/blender/nodes | |
parent | f3b08af24c9f00f437e57e8fc762235c6cff9286 (diff) |
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).
Diffstat (limited to 'source/blender/nodes')
-rw-r--r-- | source/blender/nodes/geometry/nodes/node_geo_common.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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; |