From 205d06f5f4505a2ce0211869a36501fc19877666 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Thu, 8 May 2008 08:41:56 +0000 Subject: [PATCH] Fix for bug #11002: particle ipo clump did not allow negative values like the button in the user interface. --- source/blender/blenkernel/intern/ipo.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/blender/blenkernel/intern/ipo.c b/source/blender/blenkernel/intern/ipo.c index 0b9f7615bfa..321d4f1d37e 100644 --- a/source/blender/blenkernel/intern/ipo.c +++ b/source/blender/blenkernel/intern/ipo.c @@ -1917,6 +1917,9 @@ void set_icu_vars(IpoCurve *icu) icu->ymin= 0.0; break; case PART_CLUMP: + icu->ymin= -1.0; + icu->ymax= 1.0; + break; case PART_DRAG: case PART_DAMP: case PART_LENGTH: @@ -1926,6 +1929,7 @@ void set_icu_vars(IpoCurve *icu) case PART_KINK_SHAPE: icu->ymin= -0.999; icu->ymax= 0.999; + break; } } else if(icu->blocktype==ID_CO) {