diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-12-03 19:19:04 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-12-03 19:19:11 +0300 |
commit | 65779b022dc14e4dff107e925817968fc93570f1 (patch) | |
tree | 54eea39e778742ebc0903a4c8e0076c1a38951d2 /source/blender/makesdna/DNA_node_types.h | |
parent | 95eca49e545dbe100a400bf84ec0a95e0091289a (diff) |
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.
Diffstat (limited to 'source/blender/makesdna/DNA_node_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_node_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_node_types.h b/source/blender/makesdna/DNA_node_types.h index a776fbbc3a6..fe921cf96ac 100644 --- a/source/blender/makesdna/DNA_node_types.h +++ b/source/blender/makesdna/DNA_node_types.h @@ -221,7 +221,7 @@ typedef struct bNode { * and replacing all uses with per-instance data. */ short preview_xsize, preview_ysize; /* reserved size of the preview rect */ - short pad2[2]; + short tmp_flag, pad2; /* Used at runtime when going through the tree. Initialize before use. */ struct uiBlock *block; /* runtime during drawing */ float ssr_id; /* XXX: eevee only, id of screen space reflection layer, needs to be a float to feed GPU_uniform. */ |