diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-12-23 05:12:40 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-12-23 05:12:40 +0400 |
commit | 0a61116e549cedcca6dff3b792b4b05cafa45658 (patch) | |
tree | c6bce856b72b6d16e9e920677a2189c159aaacfe /source/blender/blenkernel/BKE_curve.h | |
parent | 7b8622457ba06b60320bb2e3c8e0a908b1b17d60 (diff) |
Fix for converting unfilled 3d text into a mesh
Diffstat (limited to 'source/blender/blenkernel/BKE_curve.h')
-rw-r--r-- | source/blender/blenkernel/BKE_curve.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_curve.h b/source/blender/blenkernel/BKE_curve.h index 90e2bcd37a9..589ca68c798 100644 --- a/source/blender/blenkernel/BKE_curve.h +++ b/source/blender/blenkernel/BKE_curve.h @@ -60,6 +60,9 @@ typedef struct CurveCache { #define CU_DO_TILT(cu, nu) (((nu->flag & CU_2D) && (cu->flag & CU_3D) == 0) ? 0 : 1) #define CU_DO_RADIUS(cu, nu) ((CU_DO_TILT(cu, nu) || ((cu)->flag & CU_PATH_RADIUS) || (cu)->bevobj || (cu)->ext1 != 0.0f || (cu)->ext2 != 0.0f) ? 1 : 0) +/* not 3d and not unfilled */ +#define CU_DO_2DFILL(cu) ((((cu)->flag & CU_3D) == 0) && (((cu)->flag & (CU_FRONT | CU_BACK)) != 0)) + /* ** Curve ** */ void BKE_curve_unlink(struct Curve *cu); void BKE_curve_free(struct Curve *cu); |