diff options
author | Jacques Lucke <jacques@blender.org> | 2020-04-14 13:27:09 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-04-14 13:31:27 +0300 |
commit | ff3d82d7ef1e67636510550d7132c2cb95ad7148 (patch) | |
tree | 5c96a34bd8f31773404fdaf7e8e9cb0879a194a1 /source/blender/nodes/shader/nodes/node_shader_mixRgb.c | |
parent | d26c3e9e75aa7dd27a8fc76f6b46b14b14d2e5bc (diff) |
Use some shader nodes in the simulation nodes
This makes a subset of the shader nodes available in simulation node trees.
More can be made available in the future, but we might not be able to actually
implement all the nodes before the release.
For now, their name remains `ShaderNode...`. We should rename them to
e.g. `FunctionNode...` and move them to a separate folder in the future.
Differential Revision: https://developer.blender.org/D7422
Diffstat (limited to 'source/blender/nodes/shader/nodes/node_shader_mixRgb.c')
-rw-r--r-- | source/blender/nodes/shader/nodes/node_shader_mixRgb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/shader/nodes/node_shader_mixRgb.c b/source/blender/nodes/shader/nodes/node_shader_mixRgb.c index 9c318073304..93e88664d1a 100644 --- a/source/blender/nodes/shader/nodes/node_shader_mixRgb.c +++ b/source/blender/nodes/shader/nodes/node_shader_mixRgb.c @@ -107,7 +107,7 @@ void register_node_type_sh_mix_rgb(void) { static bNodeType ntype; - sh_node_type_base(&ntype, SH_NODE_MIX_RGB, "Mix", NODE_CLASS_OP_COLOR, 0); + sh_fn_node_type_base(&ntype, SH_NODE_MIX_RGB, "Mix", NODE_CLASS_OP_COLOR, 0); node_type_socket_templates(&ntype, sh_node_mix_rgb_in, sh_node_mix_rgb_out); node_type_label(&ntype, node_blend_label); node_type_exec(&ntype, NULL, NULL, node_shader_exec_mix_rgb); |