Geometry Nodes: fix error adding a value node
Caused by own rBcf2933c38a34 which changed the poll on this node to be "shading-only", but this one is actually supported.
This commit is contained in:
parent
4cd9a1164b
commit
9ef24d5aaa
Notes:
blender-bot
2023-02-14 11:21:40 +01:00
Referenced by issue #86498, Crashes and bugs in Geometry Nodes: Boolean node
|
@ -50,7 +50,7 @@ void register_node_type_sh_value(void)
|
|||
{
|
||||
static bNodeType ntype;
|
||||
|
||||
sh_node_type_base(&ntype, SH_NODE_VALUE, "Value", NODE_CLASS_INPUT, 0);
|
||||
sh_fn_node_type_base(&ntype, SH_NODE_VALUE, "Value", NODE_CLASS_INPUT, 0);
|
||||
node_type_socket_templates(&ntype, nullptr, sh_node_value_out);
|
||||
node_type_gpu(&ntype, gpu_shader_value);
|
||||
ntype.expand_in_mf_network = sh_node_value_expand_in_mf_network;
|
||||
|
|
Loading…
Reference in New Issue