diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-04-22 13:26:02 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-04-22 13:26:02 +0400 |
commit | f3dbfddc8a0eac54b57d39a3c8c92c0155ecacd1 (patch) | |
tree | 41baa7baeec095e70ae7ea47f208f370bf56499c /source/blender/blenkernel/intern | |
parent | d05f5da111e026c2a4dbe0432bca7b3266857893 (diff) |
Fix #35039: two other issues with curve caps
- Skip filling caps if spline is cyclic
- Use hard limit of 1024 for curve resolution
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/displist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/displist.c b/source/blender/blenkernel/intern/displist.c index b6df16db6aa..240c1ed7652 100644 --- a/source/blender/blenkernel/intern/displist.c +++ b/source/blender/blenkernel/intern/displist.c @@ -1530,7 +1530,7 @@ static void do_makeDispListCurveTypes(Scene *scene, Object *ob, ListBase *dispba else rotateBevelPiece(cu, bevp, NULL, dlb, 0.0f, widfac, fac, &data); - if (cu->bevobj && (cu->flag & CU_FILL_CAPS)) { + if (cu->bevobj && (cu->flag & CU_FILL_CAPS) && !(nu->flagu & CU_NURB_CYCLIC)) { if (a == 1) fillBevelCap(nu, dlb, cur_data - 3 * dlb->nr, &bottom_capbase); if (a == steps - 1) |