Blender Git Loki

Git Commits -> Revision f4d41ae

October 18, 2019, 11:35 (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: f4d41ae27d9d9094460db37c6e88263a337d5acf
Parent Commit: fa2c116
Committed By: YimingWu
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