From aab64350c1e6af97ea7e76aea1fd77db32caf9a3 Mon Sep 17 00:00:00 2001 From: Campbell Barton <ideasman42@gmail.com> Date: Fri, 6 Jul 2012 20:27:14 +0000 Subject: [PATCH] added back randomization its needed saddly --- object_fracture_cell/fracture_cell_setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/object_fracture_cell/fracture_cell_setup.py b/object_fracture_cell/fracture_cell_setup.py index 2f6625bbf..9a6ccbbfe 100644 --- a/object_fracture_cell/fracture_cell_setup.py +++ b/object_fracture_cell/fracture_cell_setup.py @@ -109,6 +109,8 @@ def _points_from_object(obj, source): points.extend([p for spline in get_splines(gp) for p in spline]) + print("Found %d points" % len(points)) + return points @@ -209,7 +211,7 @@ def cell_fracture_objects(scene, obj, # WORKAROUND FOR CONVEX HULL BUG/LIMIT # XXX small noise import random - def R(): return (random.random() - 0.5) * 0.01 + def R(): return (random.random() - 0.5) * 0.001 # XXX small noise for i, co in enumerate(cell_points): -- GitLab