diff options
Diffstat (limited to 'source/blender/nodes/shader/nodes/node_shader_bevel.c')
-rw-r--r-- | source/blender/nodes/shader/nodes/node_shader_bevel.c | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/source/blender/nodes/shader/nodes/node_shader_bevel.c b/source/blender/nodes/shader/nodes/node_shader_bevel.c index 7878ff7c50b..347d82c5506 100644 --- a/source/blender/nodes/shader/nodes/node_shader_bevel.c +++ b/source/blender/nodes/shader/nodes/node_shader_bevel.c @@ -22,24 +22,14 @@ /* **************** OUTPUT ******************** */ static bNodeSocketTemplate sh_node_bevel_in[] = { - {SOCK_FLOAT, 1, N_("Radius"), 0.05f, 0.0f, 0.0f, 0.0f, 0.0f, 1000.0f}, - {SOCK_VECTOR, - 1, - N_("Normal"), - 0.0f, - 0.0f, - 0.0f, - 1.0f, - -1.0f, - 1.0f, - PROP_NONE, - SOCK_HIDE_VALUE}, - {-1, 0, ""}, + {SOCK_FLOAT, N_("Radius"), 0.05f, 0.0f, 0.0f, 0.0f, 0.0f, 1000.0f}, + {SOCK_VECTOR, N_("Normal"), 0.0f, 0.0f, 0.0f, 1.0f, -1.0f, 1.0f, PROP_NONE, SOCK_HIDE_VALUE}, + {-1, ""}, }; static bNodeSocketTemplate sh_node_bevel_out[] = { - {SOCK_VECTOR, 0, N_("Normal"), 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, - {-1, 0, ""}, + {SOCK_VECTOR, N_("Normal"), 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f}, + {-1, ""}, }; static void node_shader_init_bevel(bNodeTree *UNUSED(ntree), bNode *node) |