diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2019-10-10 01:31:47 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2019-10-10 01:31:47 +0300 |
commit | f61a8a2abd07ee879f9bc860230e0dd3e6ee6a0c (patch) | |
tree | a61ad71884c9f224927c3a8457b4aa74ab2f75bb /source/blender/blenkernel/intern/fmodifier.c | |
parent | 8163fda9fb8b89ce9a58fcbb6310b2bb9d78da73 (diff) |
Fix T70614 EEVEE: Bump with texture connected to other branches don't work
Was caused by the bump node not being evaluated because the other branch
was evaluated before.
To fix this, we use fromnode instead of tonode.
Also we fix a potential issue with recursiveness because
ntree_shader_copy_branch() also use nodeChainIterBackwards() which would
reset the iter_flag in the middle of the parent iteration. Use iter_flag
as a bitflag for each iteration to fix this.
Diffstat (limited to 'source/blender/blenkernel/intern/fmodifier.c')
0 files changed, 0 insertions, 0 deletions