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>2007-10-27 02:11:08 +0400
committerCampbell Barton <ideasman42@gmail.com>2007-10-27 02:11:08 +0400
commitddb8120e03e83b1d45e7e69869a55134dc0060fa (patch)
treecda4d3044032f71ac0c32785945daa4140a6a2b0 /source/blender/nodes/intern/CMP_nodes/CMP_tonemap.c
parent38e7c267a6b02c144b9912eb916cb5631cd9a4a9 (diff)
fix for msvc
Diffstat (limited to 'source/blender/nodes/intern/CMP_nodes/CMP_tonemap.c')
-rw-r--r--source/blender/nodes/intern/CMP_nodes/CMP_tonemap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/intern/CMP_nodes/CMP_tonemap.c b/source/blender/nodes/intern/CMP_nodes/CMP_tonemap.c
index b7c0475884b..cd617eca5c5 100644
--- a/source/blender/nodes/intern/CMP_nodes/CMP_tonemap.c
+++ b/source/blender/nodes/intern/CMP_nodes/CMP_tonemap.c
@@ -57,7 +57,7 @@ static float avgLogLum(CompBuf *src, float* auto_key, float* Lav, float* Cav)
}
*Lav *= sc;
fRGB_mult(Cav, sc);
- maxl = logf(maxl + 1e-5f), minl = logf(minl + 1e-5f), avl = lsum*sc;
+ maxl = logf(maxl + 1e-5f); minl = logf(minl + 1e-5f); avl = lsum*sc;
*auto_key = (maxl > minl) ? ((maxl - avl) / (maxl - minl)) : 1.f;
return expf(avl);
}