Fix shader nodes Normal node not showing right direction choosing widget.
This commit is contained in:
@@ -34,12 +34,12 @@
|
||||
|
||||
/* **************** NORMAL ******************** */
|
||||
static bNodeSocketTemplate sh_node_normal_in[] = {
|
||||
{ SOCK_VECTOR, 1, N_("Normal"), 0.0f, 0.0f, 0.0f, 1.0f, -1.0f, 1.0f, PROP_NONE},
|
||||
{ SOCK_VECTOR, 1, N_("Normal"), 0.0f, 0.0f, 0.0f, 1.0f, -1.0f, 1.0f, PROP_DIRECTION},
|
||||
{ -1, 0, "" }
|
||||
};
|
||||
|
||||
static bNodeSocketTemplate sh_node_normal_out[] = {
|
||||
{ SOCK_VECTOR, 0, N_("Normal")},
|
||||
{ SOCK_VECTOR, 0, N_("Normal"), 0.0f, 0.0f, 0.0f, 1.0f, -1.0f, 1.0f, PROP_DIRECTION},
|
||||
{ SOCK_FLOAT, 0, N_("Dot")},
|
||||
{ -1, 0, "" }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user