diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-12-14 18:49:12 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-12-14 18:49:12 +0400 |
commit | 37720364d5b60def1f0004c51e178f1044d2987c (patch) | |
tree | 548bae352912f32aa9f1a53fc37fe6776730c3c4 /source | |
parent | 7947b3d21d8e5d0df5a25f24cce5d8a69f713a46 (diff) |
Curves: Skip 3dtext & 2d-curve filling when fill is set to 'None'
Otherwise was impossible to have unfilled curves unless extrude was set
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/displist.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/displist.c b/source/blender/blenkernel/intern/displist.c index dd1df6ef4b0..861153971a3 100644 --- a/source/blender/blenkernel/intern/displist.c +++ b/source/blender/blenkernel/intern/displist.c @@ -648,6 +648,9 @@ static void curve_to_filledpoly(Curve *cu, ListBase *UNUSED(nurb), ListBase *dis if (cu->flag & CU_3D) return; + if ((cu->flag & (CU_FRONT | CU_BACK)) == 0) + return; + if (dispbase->first && ((DispList *) dispbase->first)->type == DL_SURF) { bevels_to_filledpoly(cu, dispbase); } |