From f48c8dea16cb5db9ada404b0bcc04e584a62a24f Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sun, 16 Mar 2008 20:04:41 +0000 Subject: Fix for bug #8582: compositor math node did not output any result without input connections. --- source/blender/nodes/intern/CMP_nodes/CMP_math.c | 1 - 1 file changed, 1 deletion(-) (limited to 'source/blender/nodes') 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 */ -- cgit v1.2.3