diff options
author | Andre Susano Pinto <andresusanopinto@gmail.com> | 2008-09-26 06:02:02 +0400 |
---|---|---|
committer | Andre Susano Pinto <andresusanopinto@gmail.com> | 2008-09-26 06:02:02 +0400 |
commit | 09e17ac87623c8c790bb34dcca009932ae820a70 (patch) | |
tree | 9ee15777a200d3008004d923320db344c55c8a55 /source/blender/blenkernel/intern/modifier.c | |
parent | 2ad14ba223916f07801a024b608a1c92e9f16d8f (diff) |
SimpleDeform now initializes limit values to the BB when its added to an object
Diffstat (limited to 'source/blender/blenkernel/intern/modifier.c')
-rw-r--r-- | source/blender/blenkernel/intern/modifier.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/modifier.c b/source/blender/blenkernel/intern/modifier.c index 16287d360b5..a48a3890398 100644 --- a/source/blender/blenkernel/intern/modifier.c +++ b/source/blender/blenkernel/intern/modifier.c @@ -7364,8 +7364,8 @@ static void simpledeformModifier_initData(ModifierData *md) smd->origin = NULL; smd->factor = 0.35; - smd->limit[0] = -1000.0f; - smd->limit[1] = 1000.0f; + smd->limit[0] = FLT_MAX; + smd->limit[1] = -FLT_MAX; } static void simpledeformModifier_copyData(ModifierData *md, ModifierData *target) |