BMesh: Add option to use BMesh boolean modifier

This uses a bmesh-intersection, BLI_kdtree and watertight intersections to perform boolean operations.

For now keep both BMesh and Carve booleans usable at once for testing & bug reports,
however we plan to phase out Carve by next release.
This commit is contained in:
Campbell Barton
2015-12-11 20:24:39 +11:00
parent 8ae8b62a0e
commit 8cd7b42877
5 changed files with 268 additions and 15 deletions

View File

@@ -156,6 +156,15 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
col.label(text="Object:")
col.prop(md, "object", text="")
layout.prop(md, "use_bmesh")
if md.use_bmesh:
box = layout.box()
box.label("BMesh Options:")
box.prop(md, "use_bmesh_separate")
box.prop(md, "use_bmesh_dissolve")
box.prop(md, "use_bmesh_connect_regions")
box.prop(md, "threshold")
def BUILD(self, layout, ob, md):
split = layout.split()