Fix T58280: Blender 2.8 hangs when the LookDev mode is enabled
authorClément Foucault <foucault.clem@gmail.com>
Mon, 3 Dec 2018 16:19:04 +0000 (17:19 +0100)
committerClément Foucault <foucault.clem@gmail.com>
Mon, 3 Dec 2018 16:19:11 +0000 (17:19 +0100)
commit65779b022dc14e4dff107e925817968fc93570f1
tree54eea39e778742ebc0903a4c8e0076c1a38951d2
parent95eca49e545dbe100a400bf84ec0a95e0091289a
Fix T58280: Blender 2.8 hangs when the LookDev mode is enabled

The hang was due to the nodes being "evaluated" for every incomming link.

Solution: only evaluate once per nodetree.

Also merge the tagging of SSS and SSR into one traversal only.
source/blender/makesdna/DNA_node_types.h
source/blender/nodes/shader/node_shader_tree.c