Set default for merge mirror to ON
This commit is contained in:
@@ -779,7 +779,7 @@ static void rna_def_modifier_mirror(BlenderRNA *brna)
|
|||||||
|
|
||||||
prop= RNA_def_property(srna, "use_mirror_merge", PROP_BOOLEAN, PROP_NONE);
|
prop= RNA_def_property(srna, "use_mirror_merge", PROP_BOOLEAN, PROP_NONE);
|
||||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", MOD_MIR_MERGE);
|
RNA_def_property_boolean_sdna(prop, NULL, "flag", MOD_MIR_MERGE);
|
||||||
RNA_def_property_ui_text(prop, "Merge Verticies", "Merge verticies within the merge threshold");
|
RNA_def_property_ui_text(prop, "Merge Verticies", "Merge vertices within the merge threshold");
|
||||||
RNA_def_property_update(prop, 0, "rna_Modifier_update");
|
RNA_def_property_update(prop, 0, "rna_Modifier_update");
|
||||||
|
|
||||||
prop= RNA_def_property(srna, "use_mirror_u", PROP_BOOLEAN, PROP_NONE);
|
prop= RNA_def_property(srna, "use_mirror_u", PROP_BOOLEAN, PROP_NONE);
|
||||||
|
@@ -49,7 +49,7 @@ static void initData(ModifierData *md)
|
|||||||
{
|
{
|
||||||
MirrorModifierData *mmd = (MirrorModifierData*) md;
|
MirrorModifierData *mmd = (MirrorModifierData*) md;
|
||||||
|
|
||||||
mmd->flag |= (MOD_MIR_AXIS_X | MOD_MIR_VGROUP);
|
mmd->flag |= (MOD_MIR_AXIS_X | MOD_MIR_VGROUP | MOD_MIR_MERGE);
|
||||||
mmd->tolerance = 0.001;
|
mmd->tolerance = 0.001;
|
||||||
mmd->mirror_ob = NULL;
|
mmd->mirror_ob = NULL;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user