Use BMesh solver for new boolean modifiers

This commit is contained in:
2016-07-15 02:46:04 +10:00
parent 8343518272
commit 902d4c92ac
2 changed files with 2 additions and 1 deletions

View File

@@ -1896,8 +1896,8 @@ static void rna_def_modifier_boolean(BlenderRNA *brna)
};
static EnumPropertyItem prop_solver_items[] = {
{eBooleanModifierSolver_Carve, "CARVE", 0, "Carve", "Use the Carve boolean solver"},
{eBooleanModifierSolver_BMesh, "BMESH", 0, "BMesh", "Use the BMesh boolean solver"},
{eBooleanModifierSolver_Carve, "CARVE", 0, "Carve", "Use the Carve boolean solver"},
{0, NULL, 0, NULL, NULL}
};

View File

@@ -75,6 +75,7 @@ static void initData(ModifierData *md)
{
BooleanModifierData *bmd = (BooleanModifierData *)md;
bmd->solver = eBooleanModifierSolver_BMesh;
bmd->double_threshold = 1e-6f;
}