Fix: Hide "Squeeze Value" node from node search
Based on discussion in D10891, this node isn't meant to be exposed and
may be removed in the future. The fact that it was exposed in search
menus was a mistake from the implementation of link-drag-search
and bdb5754147
.
I explicitly removed the link drag search implementation, and added
(Legacy) to the node name which hides it from the add node search.
This commit is contained in:
parent
0147e09e0b
commit
ed8fee16ac
|
@ -34,7 +34,8 @@ void register_node_type_sh_squeeze()
|
|||
|
||||
static bNodeType ntype;
|
||||
|
||||
sh_node_type_base(&ntype, SH_NODE_SQUEEZE, "Squeeze Value", NODE_CLASS_CONVERTER);
|
||||
sh_node_type_base(&ntype, SH_NODE_SQUEEZE, "Squeeze Value (Legacy)", NODE_CLASS_CONVERTER);
|
||||
ntype.gather_link_search_ops = nullptr;
|
||||
ntype.declare = file_ns::node_declare;
|
||||
node_type_gpu(&ntype, file_ns::gpu_shader_squeeze);
|
||||
|
||||
|
|
Loading…
Reference in New Issue