summaryrefslogtreecommitdiffstats
path: root/src/tweak-context.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2007-11-10 21:59:26 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2007-11-10 21:59:26 +0000
commit81fb8043fe285836892a931181c192e53d31f17b (patch)
tree331c263577a6c49b7858c930bef241abf56a15b0 /src/tweak-context.cpp
parentAdded rough ui to flip colors to be icc-color (diff)
downloadinkscape-81fb8043fe285836892a931181c192e53d31f17b.tar.gz
inkscape-81fb8043fe285836892a931181c192e53d31f17b.zip
readjust jitter force
(bzr r4054)
Diffstat (limited to 'src/tweak-context.cpp')
-rw-r--r--src/tweak-context.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/tweak-context.cpp b/src/tweak-context.cpp
index 4482544fb..a66f766cf 100644
--- 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]);