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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2008-05-08 12:41:56 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2008-05-08 12:41:56 +0400
commit205d06f5f4505a2ce0211869a36501fc19877666 (patch)
tree251f58063341fbd3cc189e7101a50b617c571e22 /source/blender
parent18b20396bc4563ba5e2b14fb232960211861a236 (diff)
Fix for bug #11002: particle ipo clump did not allow negative values
like the button in the user interface.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/blenkernel/intern/ipo.c4
1 files changed, 4 insertions, 0 deletions
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) {