Changed default strength in harden

This commit is contained in:
Rohan Rathi 2018-07-10 22:21:28 +05:30
parent 13741792ab
commit 962f89d487
2 changed files with 2 additions and 0 deletions

View File

@ -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");

View File

@ -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)