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-09 12:19:08 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-07-09 12:19:08 +0400
commit6569588716ed30da7c1a1b9bfa4d031d99c5d1a7 (patch)
treed703830ee34a38c3b99d853fe287c67adf058ad0 /object_fracture_cell/__init__.py
parentf2be05f4dd5ce05a2e3ab4302c10393b47a4a297 (diff)
fix error with `own particles` using verts.
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 0076742e..71909b3e 100644
--- a/object_fracture_cell/__init__.py
+++ b/object_fracture_cell/__init__.py
@@ -58,6 +58,7 @@ def main_object(scene, obj, level, **kw):
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")
+ use_interior_vgroup = kw_copy.pop("use_interior_vgroup")
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_interior_vgroup=use_interior_vgroup,
use_debug_bool=use_debug_bool,
use_debug_redraw=kw_copy["use_debug_redraw"])
@@ -282,6 +284,12 @@ class FractureCell(Operator):
default=0,
)
+ use_interior_vgroup = BoolProperty(
+ name="Interior VGroup",
+ description="Create a vertex group for interior verts",
+ default=False,
+ )
+
# -------------------------------------------------------------------------
# Object Options
@@ -384,6 +392,7 @@ class FractureCell(Operator):
rowsub.prop(self, "use_smooth_faces")
rowsub.prop(self, "use_smooth_edges")
rowsub.prop(self, "use_data_match")
+ # rowsub.prop(self, "use_interior_vgroup")
rowsub.prop(self, "material_index")
rowsub = col.row()
# could be own section, control how we subdiv