Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-07-05 19:59:24 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-07-05 19:59:24 +0400
commit2a9bbe00be339eef373f27c406c66233c9ee1e19 (patch)
treed08bfa0fb0532bad641f77bbeb50e2f1352a44a3 /object_fracture_cell/__init__.py
parent8c0210974911aafdbfbc10df89fb11178ed1c118 (diff)
- debug option to not apply booleans
- temp workaround for convex hull failing
Diffstat (limited to 'object_fracture_cell/__init__.py')
-rw-r--r--object_fracture_cell/__init__.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/object_fracture_cell/__init__.py b/object_fracture_cell/__init__.py
index 01216409..63ffdd92 100644
--- a/object_fracture_cell/__init__.py
+++ b/object_fracture_cell/__init__.py
@@ -58,6 +58,7 @@ def main_object(scene, obj, level, **kw):
use_layer_next = kw_copy.pop("use_layer_next")
group_name = kw_copy.pop("group_name")
use_island_split = kw_copy.pop("use_island_split")
+ use_debug_bool = kw_copy.pop("use_debug_bool")
from . import fracture_cell_setup
@@ -71,6 +72,7 @@ def main_object(scene, obj, level, **kw):
objects = fracture_cell_setup.cell_fracture_objects(scene, obj, **kw_copy)
objects = fracture_cell_setup.cell_fracture_boolean(scene, obj, objects,
use_island_split=use_island_split,
+ use_debug_bool=use_debug_bool,
use_debug_redraw=kw_copy["use_debug_redraw"])
# todo, split islands.
@@ -315,6 +317,12 @@ class FractureCell(Operator):
default=True,
)
+ use_debug_bool = BoolProperty(
+ name="Debug Boolean",
+ description="Skip applying the boolean modifier",
+ default=False,
+ )
+
def execute(self, context):
keywords = self.as_keywords() # ignore=("blah",)
@@ -383,6 +391,7 @@ class FractureCell(Operator):
rowsub = col.row(align=True)
rowsub.prop(self, "use_debug_redraw")
rowsub.prop(self, "use_debug_points")
+ rowsub.prop(self, "use_debug_bool")
#def menu_func(self, context):
# self.layout.menu("INFO_MT_add_fracture_objects", icon="PLUGIN")