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:
authorCampbell Barton <ideasman42@gmail.com>2011-06-09 17:46:34 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-06-09 17:46:34 +0400
commitd4ae38cc6c4ec8e3d13f26d12f85bca561f64f0f (patch)
tree44455ae48af92896715a89418d847cfd4b944541 /source/blender/nodes/intern/CMP_nodes
parent21f5a87999bbc3f022a62812ae1ec1a30fa98135 (diff)
fix for own mistake & fix some comments.
Diffstat (limited to 'source/blender/nodes/intern/CMP_nodes')
-rw-r--r--source/blender/nodes/intern/CMP_nodes/CMP_math.c2
1 files changed, 1 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 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;