diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-07-05 22:16:54 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-07-05 22:16:54 +0400 |
commit | 021d259dbe75503c2d955249f139857e15e2a3ca (patch) | |
tree | e5621c4faa2c5b6725161d321efe7c38744c1cae /object_fracture_cell/fracture_cell_calc.py | |
parent | 2a9bbe00be339eef373f27c406c66233c9ee1e19 (diff) |
fracture
- add button in toolbar
- fracture all meshes in selection
- add option for layer to add into
Diffstat (limited to 'object_fracture_cell/fracture_cell_calc.py')
-rw-r--r-- | object_fracture_cell/fracture_cell_calc.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/object_fracture_cell/fracture_cell_calc.py b/object_fracture_cell/fracture_cell_calc.py index 884fec11..acd8e976 100644 --- a/object_fracture_cell/fracture_cell_calc.py +++ b/object_fracture_cell/fracture_cell_calc.py @@ -44,6 +44,9 @@ def points_as_bmesh_cells(verts, plane_indices = [] vertices = [] + if points_scale == (1.0, 1.0, 1.0): + points_scale = None + # there are many ways we could get planes - convex hull for eg # but it ends up fastest if we just use bounding box if 1: |