Fix #32907: failure rendering a complex node setup, hitting fixed max number
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 26 Nov 2012 21:59:41 +0000 (21:59 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 26 Nov 2012 21:59:41 +0000 (21:59 +0000)
commitceed3ef640bb40e1232feeb409220fe19011bc43
tree48ad960f483ad185718b14bbc605b6182732f56c
parenteab58bf994323a53311543d7d706b0be87ffe197
Fix #32907: failure rendering a complex node setup, hitting fixed max number
of closures limit. Optimized the code now so it can handle more.

Change SVM mix/add closure handling, now we transform the node graph so that
the mix weights are fed into the closure nodes directly.
intern/cycles/kernel/svm/svm_closure.h
intern/cycles/render/graph.cpp
intern/cycles/render/graph.h
intern/cycles/render/nodes.cpp
intern/cycles/render/nodes.h
intern/cycles/render/svm.cpp
intern/cycles/render/svm.h