Eevee: Make nodegroup fix recursive.

This commit is contained in:
Clément Foucault 2018-11-06 12:05:09 +01:00
parent 26d5a92606
commit c3149a712c
1 changed files with 3 additions and 0 deletions

View File

@ -323,6 +323,9 @@ static void ntree_shader_groups_expand_inputs(bNodeTree *localtree)
if (group_node->type != NODE_GROUP || group_node->id == NULL)
continue;
/* Do it recursively. */
ntree_shader_groups_expand_inputs((bNodeTree *)group_node->id);
bNodeSocket *group_socket = group_node->inputs.first;
for (; group_socket; group_socket = group_socket->next) {
if (group_socket->link != NULL)