Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-11-30 13:12:10 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-11-30 13:12:10 +0400
commit323e86694efe2fe4a2a8b570977d59c735942f90 (patch)
treecb445067b9753c8159ba4929f2757cbe2304715f /source/blender/makesdna/DNA_node_types.h
parentceedd5bd35273c27225f84cde2948e5b774e92fe (diff)
Compositor should never add notifiers by himself, notifiers should be added
from main thread using job update callback. Added new execution-time callback to bNodeTree which marks job to be updated. The code here could be a bit not so obvious because in some cases job update callback need to merge local tree, but it's only needed for old compositor system which is gonna to be removed soon, so decided not to bother with cleanup now. Removing old compositor system will also allow to drop stats_draw callback from bNodeTree. This should fix following bugs:
Diffstat (limited to 'source/blender/makesdna/DNA_node_types.h')
-rw-r--r--source/blender/makesdna/DNA_node_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_node_types.h b/source/blender/makesdna/DNA_node_types.h
index 1684cf28b3c..a05ff66e683 100644
--- a/source/blender/makesdna/DNA_node_types.h
+++ b/source/blender/makesdna/DNA_node_types.h
@@ -294,7 +294,8 @@ typedef struct bNodeTree {
void (*progress)(void *, float progress);
void (*stats_draw)(void *, char *str);
int (*test_break)(void *);
- void *tbh, *prh, *sdh;
+ void (*update_draw)(void *);
+ void *tbh, *prh, *sdh, *udh;
} bNodeTree;