Blender Git Commit Log

Git Commits -> Revision 81e391a

Revision 81e391a by Alexander Gavrilov (master)
June 19, 2016, 18:17 (GMT)
Fix issues with node deduplication in Cycles shader graph.

It is not possible to use a set split by name as valid input to
check_node_input_traversed - it needs a complete set of all nodes visited so
far. On the other hand, the merge comparison loop should only check nodes that
were not just visited, but found unique. This means that there should really be
two separate data structures.

Without the fix, check_node_input_traversed actually never returns true, so
only nodes without any inputs are processed.

Commit Details:

Full Hash: 81e391a72747fe4d8ab1978a0929719844df35a1
Parent Commit: 98547e8
Committed By: Brecht Van Lommel
Lines Changed: +17, -10

1 Modified Path:

/intern/cycles/render/graph.cpp (+17, -10) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021