diff options
author | Alex Strand <astrand130> | 2019-03-13 17:03:07 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-03-13 17:24:58 +0300 |
commit | bc5b0f7a091c3955263701be8c858fd56f8ba59f (patch) | |
tree | d4b1afe6fd45ff215fa256b5a96b6bd4683a54fd | |
parent | 76437b903de37ee96a5306429fe8e17ccbaa1de7 (diff) |
Curves: change default fill mode to full, increase bevel resolution.
Ref D4438.
-rw-r--r-- | source/blender/blenkernel/intern/curve.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/curve.c b/source/blender/blenkernel/intern/curve.c index f8205d37f53..1112c490c13 100644 --- a/source/blender/blenkernel/intern/curve.c +++ b/source/blender/blenkernel/intern/curve.c @@ -141,7 +141,7 @@ void BKE_curve_init(Curve *cu) /* BLI_assert(MEMCMP_STRUCT_AFTER_IS_ZERO(cu, id)); */ /* cu->type is already initialized... */ copy_v3_fl(cu->size, 1.0f); - cu->flag = CU_FRONT | CU_BACK | CU_DEFORM_BOUNDS_OFF | CU_PATH_RADIUS; + cu->flag = CU_DEFORM_BOUNDS_OFF | CU_PATH_RADIUS; cu->pathlen = 100; cu->resolu = cu->resolv = (cu->type == OB_SURF) ? 4 : 12; cu->width = 1.0; @@ -157,6 +157,7 @@ void BKE_curve_init(Curve *cu) cu->bevfac2 = 1.0f; cu->bevfac1_mapping = CU_BEVFAC_MAP_RESOLU; cu->bevfac2_mapping = CU_BEVFAC_MAP_RESOLU; + cu->bevresol = 4; cu->bb = BKE_boundbox_alloc_unit(); |