Bevel Factor Mapping
[blender.git] / source / blender / blenkernel / intern / curve.c
index 864682c560712e2ee87638d5a78347c3e62fda4e..44c9bc9ebbe095129fc64513f50e3d2ff0ee08f6 100644 (file)
@@ -182,6 +182,8 @@ Curve *BKE_curve_add(Main *bmain, const char *name, int type)
        cu->type = type;
        cu->bevfac1 = 0.0f;
        cu->bevfac2 = 1.0f;
+       cu->bevfac1_mapping = CU_BEVFAC_MAP_RESOLU;
+       cu->bevfac2_mapping = CU_BEVFAC_MAP_RESOLU;
 
        cu->bb = BKE_boundbox_alloc_unit();