diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-11-06 14:05:09 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-11-06 14:05:21 +0300 |
commit | c3149a712c7f2042359d6137a0f9b4003a7975ca (patch) | |
tree | eb491c8366f419145bdd29557c3c589567ad7b21 /source | |
parent | 26d5a92606480da5a538af09b455d86c6c2b3ce5 (diff) |
Eevee: Make nodegroup fix recursive.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/nodes/shader/node_shader_tree.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/nodes/shader/node_shader_tree.c b/source/blender/nodes/shader/node_shader_tree.c index af6bfa2d6fb..321ac1a6b76 100644 --- a/source/blender/nodes/shader/node_shader_tree.c +++ b/source/blender/nodes/shader/node_shader_tree.c @@ -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) |