diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-06-10 16:32:33 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-06-10 16:33:24 +0400 |
commit | 3286c8f8fb5d08c65c10ce555bfd3551ae13a0d1 (patch) | |
tree | 3dc550dda51f0af47a3803ffd55761d0ff844819 /source/blender/blenkernel | |
parent | 74e32efbc8e292927db9b5e8118a63782ce96010 (diff) |
Curve: skip curves when matching bevel-fac (like 2.70)
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/displist.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/displist.c b/source/blender/blenkernel/intern/displist.c index 613bb7cdabc..e534aa84228 100644 --- a/source/blender/blenkernel/intern/displist.c +++ b/source/blender/blenkernel/intern/displist.c @@ -1668,6 +1668,10 @@ static void do_makeDispListCurveTypes(Scene *scene, Object *ob, ListBase *dispba &start, &firstblend, &steps, &lastblend); } else { + if (fabsf(cu->bevfac2 - cu->bevfac1) < FLT_EPSILON) { + continue; + } + calc_bevfac_mapping(cu, bl, nu, use_render_resolution, &start, &firstblend, &steps, &lastblend); } |