Changeset View
Changeset View
Standalone View
Standalone View
source/blender/modifiers/intern/MOD_bevel.c
| Show First 20 Lines • Show All 43 Lines • ▼ Show 20 Lines | |||||
| #include "BKE_curveprofile.h" | #include "BKE_curveprofile.h" | ||||
| #include "DEG_depsgraph_query.h" | #include "DEG_depsgraph_query.h" | ||||
| static void initData(ModifierData *md) | static void initData(ModifierData *md) | ||||
| { | { | ||||
| BevelModifierData *bmd = (BevelModifierData *)md; | BevelModifierData *bmd = (BevelModifierData *)md; | ||||
| bmd->value = 1.0f; | bmd->value = 0.1f; | ||||
| bmd->res = 1; | bmd->res = 1; | ||||
| bmd->flags = 0; | bmd->flags = 0; | ||||
| bmd->val_flags = MOD_BEVEL_AMT_OFFSET; | bmd->val_flags = MOD_BEVEL_AMT_OFFSET; | ||||
| bmd->lim_flags = 0; | bmd->lim_flags = 0; | ||||
| bmd->e_flags = 0; | bmd->e_flags = 0; | ||||
| bmd->edge_flags = 0; | bmd->edge_flags = 0; | ||||
| bmd->face_str_mode = MOD_BEVEL_FACE_STRENGTH_NONE; | bmd->face_str_mode = MOD_BEVEL_FACE_STRENGTH_NONE; | ||||
| bmd->miter_inner = MOD_BEVEL_MITER_SHARP; | bmd->miter_inner = MOD_BEVEL_MITER_SHARP; | ||||
| ▲ Show 20 Lines • Show All 220 Lines • Show Last 20 Lines | |||||