summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0704fce)
raw | patch | inline | side by side (parent: 0704fce)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Sat, 10 Nov 2007 21:59:26 +0000 (21:59 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Sat, 10 Nov 2007 21:59:26 +0000 (21:59 +0000) |
src/tweak-context.cpp | patch | blob | history |
diff --git a/src/tweak-context.cpp b/src/tweak-context.cpp
index 4482544fb75795afa863faa2362fcad06ca7b774..a66f766cfcb2ea1e0bab2f98cf576b725850594f 100644 (file)
--- a/src/tweak-context.cpp
+++ b/src/tweak-context.cpp
@@ -522,8 +522,6 @@ tweak_colorpaint (float *color, guint32 goal, double force, bool do_h, bool do_s
void
tweak_colorjitter (float *color, double force, bool do_h, bool do_s, bool do_l)
{
- force = force*force; // in [0..1], this makes finer adjustments easier
-
float hsl_c[3];
sp_color_rgb_to_hsl_floatv (hsl_c, color[0], color[1], color[2]);