[#22782] Solidify Thickness negative and positive values are the same result

more a communication problem but Ed Britton raises a valid point that often you want the original faces so changing the default offset to -1.0.
This commit is contained in:
2010-07-14 08:24:24 +00:00
parent bdd733c3f2
commit 16a54c9b8f
2 changed files with 2 additions and 1 deletions

View File

@@ -2065,7 +2065,7 @@ static void rna_def_modifier_solidify(BlenderRNA *brna)
RNA_def_property_float_sdna(prop, NULL, "offset_fac");
RNA_def_property_range(prop, -FLT_MAX, FLT_MAX);
RNA_def_property_ui_range(prop, -1, 1, 0.1, 4);
RNA_def_property_ui_text(prop, "Offset", "");
RNA_def_property_ui_text(prop, "Offset", "Offset the thickness from the center");
RNA_def_property_update(prop, 0, "rna_Modifier_update");
prop= RNA_def_property(srna, "edge_crease_inner", PROP_FLOAT, PROP_FACTOR);

View File

@@ -162,6 +162,7 @@ static void initData(ModifierData *md)
{
SolidifyModifierData *smd = (SolidifyModifierData*) md;
smd->offset = 0.01f;
smd->offset_fac = -1.0f;
smd->flag = MOD_SOLIDIFY_RIM;
}