From d4ae38cc6c4ec8e3d13f26d12f85bca561f64f0f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 9 Jun 2011 13:46:34 +0000 Subject: fix for own mistake & fix some comments. --- source/blender/nodes/intern/CMP_nodes/CMP_math.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/nodes/intern/CMP_nodes') diff --git a/source/blender/nodes/intern/CMP_nodes/CMP_math.c b/source/blender/nodes/intern/CMP_nodes/CMP_math.c index 96fa13d99f0..b7a67f3563b 100644 --- a/source/blender/nodes/intern/CMP_nodes/CMP_math.c +++ b/source/blender/nodes/intern/CMP_nodes/CMP_math.c @@ -144,7 +144,7 @@ static void do_math(bNode *node, float *out, float *in, float *in2) if( in2[0] != 0.0f ) out[0]= floorf(in[0] / in2[0] + 0.5f) * in2[0]; else - floorf(in[0] + 0.5f); + out[0]= floorf(in[0] + 0.5f); } break; -- cgit v1.2.3