Nodes: Include rotation socket type in anonymous attribute inferencing
Rotation socket is missing in `is_possible_field_socket` for detecting socket types that can be fields. Pull Request: https://projects.blender.org/blender/blender/pulls/113197
This commit is contained in:
@@ -21,7 +21,7 @@ using nodes::NodeDeclaration;
|
||||
|
||||
static bool is_possible_field_socket(const eNodeSocketDatatype type)
|
||||
{
|
||||
return ELEM(type, SOCK_FLOAT, SOCK_VECTOR, SOCK_RGBA, SOCK_BOOLEAN, SOCK_INT);
|
||||
return ELEM(type, SOCK_FLOAT, SOCK_VECTOR, SOCK_RGBA, SOCK_BOOLEAN, SOCK_INT, SOCK_ROTATION);
|
||||
}
|
||||
|
||||
static bool socket_is_field(const bNodeSocket &socket)
|
||||
|
||||
Reference in New Issue
Block a user