diff options
author | Matt Ebb <matt@mke3.net> | 2010-03-31 09:44:21 +0400 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2010-03-31 09:44:21 +0400 |
commit | 8616d22dc33d63d22a2d7e779a38f8953c0917ef (patch) | |
tree | 5c831c1c183c1741f524483e8f13f5ee9da10396 /source/blender/nodes/intern/CMP_util.c | |
parent | 89cd90379fcf99b12ae08d355918f396eb697725 (diff) |
Fix [#21727] texture in compositor quickly results in crash
Hopefully this is correct - looks like the CompBuf->node pointer was getting left
out of the per-thread copying/localisation.
Diffstat (limited to 'source/blender/nodes/intern/CMP_util.c')
-rw-r--r-- | source/blender/nodes/intern/CMP_util.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/nodes/intern/CMP_util.c b/source/blender/nodes/intern/CMP_util.c index 336694a4788..f66b13a1937 100644 --- a/source/blender/nodes/intern/CMP_util.c +++ b/source/blender/nodes/intern/CMP_util.c @@ -122,6 +122,11 @@ void print_compbuf(char *str, CompBuf *cbuf) } +void compbuf_set_node(CompBuf *cbuf, bNode *node) +{ + if (cbuf) cbuf->node = node; +} + /* used for disabling node (similar code in drawnode.c for disable line) */ void node_compo_pass_on(bNode *node, bNodeStack **nsin, bNodeStack **nsout) { |