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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2008-03-16 23:04:41 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2008-03-16 23:04:41 +0300
commitf48c8dea16cb5db9ada404b0bcc04e584a62a24f (patch)
tree05e2341ab9c60f0ab0d5a8f0aa1dafc99d5e476e /source/blender/nodes
parentf2099aabf1c53ff0ac51a26741d64abab401a6d5 (diff)
Fix for bug #8582: compositor math node did not output any result
without input connections.
Diffstat (limited to 'source/blender/nodes')
-rw-r--r--source/blender/nodes/intern/CMP_nodes/CMP_math.c1
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 */