diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-10-27 02:11:08 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-10-27 02:11:08 +0400 |
commit | ddb8120e03e83b1d45e7e69869a55134dc0060fa (patch) | |
tree | cda4d3044032f71ac0c32785945daa4140a6a2b0 /source/blender/nodes | |
parent | 38e7c267a6b02c144b9912eb916cb5631cd9a4a9 (diff) |
fix for msvc
Diffstat (limited to 'source/blender/nodes')
-rw-r--r-- | source/blender/nodes/intern/CMP_nodes/CMP_tonemap.c | 2 |
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); } |