diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-06-25 13:02:20 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-06-25 13:02:20 +0300 |
commit | f33cb522dd5793c685dcd681f7c7e13ff60f920a (patch) | |
tree | 14ab8b3debc5b2c605c6f530f8e97e0d76e1d2db /source/blender/nodes/intern | |
parent | b09387c38874bef39ff1b6eb7f12b3ee89f29f48 (diff) |
Cleanup: Few more validation of G_MAIN usages...
Diffstat (limited to 'source/blender/nodes/intern')
-rw-r--r-- | source/blender/nodes/intern/node_exec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/nodes/intern/node_exec.c b/source/blender/nodes/intern/node_exec.c index a5be5dad534..4f7f5b5ab1c 100644 --- a/source/blender/nodes/intern/node_exec.c +++ b/source/blender/nodes/intern/node_exec.c @@ -163,6 +163,8 @@ bNodeTreeExec *ntree_exec_begin(bNodeExecContext *context, bNodeTree *ntree, bNo /* XXX texnodes have threading issues with muting, have to disable it there ... */ /* ensure all sock->link pointers and node levels are correct */ + /* Using global main here is likely totally wrong, not sure what to do about that one though... + * We cannot even check ntree is in global main, since most of the time it won't be (thanks to ntree design)!!! */ ntreeUpdateTree(G.main, ntree); /* get a dependency-sorted list of nodes */ |