Changed default strength in harden
This commit is contained in:
parent
13741792ab
commit
962f89d487
|
@ -3125,6 +3125,7 @@ static void rna_def_modifier_bevel(BlenderRNA *brna)
|
|||
RNA_def_property_update(prop, 0, "rna_Modifier_update");
|
||||
|
||||
prop = RNA_def_property(srna, "hn_strength", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_float_default(prop, 0.5f);
|
||||
RNA_def_property_range(prop, 0, 1);
|
||||
RNA_def_property_ui_range(prop, 0, 1, 1, 2);
|
||||
RNA_def_property_ui_text(prop, "Normal Strength", "Strength of calculated normal");
|
||||
|
|
|
@ -70,6 +70,7 @@ static void initData(ModifierData *md)
|
|||
bmd->profile = 0.5f;
|
||||
bmd->bevel_angle = DEG2RADF(30.0f);
|
||||
bmd->defgrp_name[0] = '\0';
|
||||
bmd->hn_strength = 0.5f;
|
||||
}
|
||||
|
||||
static CustomDataMask requiredDataMask(Object *UNUSED(ob), ModifierData *md)
|
||||
|
|
Loading…
Reference in New Issue