Blender Git Loki

Git Commits -> Revision f61a8a2

Revision f61a8a2 by Clément Foucault (master)
October 9, 2019, 22:31 (GMT)
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.

Commit Details:

Full Hash: f61a8a2abd07ee879f9bc860230e0dd3e6ee6a0c
Parent Commit: 8163fda
Lines Changed: +23, -15

3 Modified Paths:

/source/blender/blenkernel/BKE_node.h (+2, -1) (Diff)
/source/blender/blenkernel/intern/node.c (+15, -8) (Diff)
/source/blender/nodes/shader/node_shader_tree.c (+6, -6) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021