diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-03-16 23:04:41 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-03-16 23:04:41 +0300 |
commit | f48c8dea16cb5db9ada404b0bcc04e584a62a24f (patch) | |
tree | 05e2341ab9c60f0ab0d5a8f0aa1dafc99d5e476e /source/blender/nodes/intern/CMP_nodes | |
parent | f2099aabf1c53ff0ac51a26741d64abab401a6d5 (diff) |
Fix for bug #8582: compositor math node did not output any result
without input connections.
Diffstat (limited to 'source/blender/nodes/intern/CMP_nodes')
-rw-r--r-- | source/blender/nodes/intern/CMP_nodes/CMP_math.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/nodes/intern/CMP_nodes/CMP_math.c b/source/blender/nodes/intern/CMP_nodes/CMP_math.c index cf2af9bbc11..e317998b5fc 100644 --- a/source/blender/nodes/intern/CMP_nodes/CMP_math.c +++ b/source/blender/nodes/intern/CMP_nodes/CMP_math.c @@ -142,7 +142,6 @@ static void node_composit_exec_math(void *data, bNode *node, bNodeStack **in, bN CompBuf *stackbuf; /* check for inputs and outputs for early out*/ - if(in[0]->hasinput==0 && in[1]->hasinput==0) return; if(out[0]->hasoutput==0) return; /* no image-color operation */ |