fix T54549: Vector Transform node in wrong nodeclass
the Vector Transform node was added to the "Vector" category in nodeitems_builtins.py but was using the "NODE_CLASS_CONVERTOR" internally (thus using e.g. the 'wrong' theme color) thanx @dingto for review Differential Revision: https://developer.blender.org/D3138
This commit is contained in:
parent
c963488b5e
commit
5a3c146652
@ -202,7 +202,7 @@ void register_node_type_sh_vect_transform(void)
|
||||
{
|
||||
static bNodeType ntype;
|
||||
|
||||
sh_node_type_base(&ntype, SH_NODE_VECT_TRANSFORM, "Vector Transform", NODE_CLASS_CONVERTOR, 0);
|
||||
sh_node_type_base(&ntype, SH_NODE_VECT_TRANSFORM, "Vector Transform", NODE_CLASS_OP_VECTOR, 0);
|
||||
node_type_compatibility(&ntype, NODE_OLD_SHADING | NODE_NEW_SHADING);
|
||||
node_type_init(&ntype, node_shader_init_vect_transform);
|
||||
node_type_socket_templates(&ntype, sh_node_vect_transform_in, sh_node_vect_transform_out);
|
||||
|
Loading…
Reference in New Issue
Block a user