diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2016-06-19 16:51:10 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-06-19 21:17:27 +0300 |
commit | 81e391a72747fe4d8ab1978a0929719844df35a1 (patch) | |
tree | 1e9dad8cdd1e71bf0b74500d4fe5952027e36589 /intern/cycles/render/nodes.cpp | |
parent | 98547e8817b35470fdf3bc19ded9b6695db5a8ad (diff) |
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.
Diffstat (limited to 'intern/cycles/render/nodes.cpp')
0 files changed, 0 insertions, 0 deletions