diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-07-15 04:09:07 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-07-15 04:09:07 +0300 |
commit | 1a1ba20a888e1e1e7aaf31ffabc56660a5d004d5 (patch) | |
tree | 49d9ffa668bce13d655e4792a0261409588a668b /object_fracture_cell | |
parent | a5a2b36b9ead8f1b6aed60833c03d7a90ace9b03 (diff) |
Fix object_fracture_cell, collection option
Was adding to both the main scene as well as the named collection.
Diffstat (limited to 'object_fracture_cell')
-rw-r--r-- | object_fracture_cell/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/object_fracture_cell/__init__.py b/object_fracture_cell/__init__.py index 037ed15c..e8244549 100644 --- a/object_fracture_cell/__init__.py +++ b/object_fracture_cell/__init__.py @@ -161,6 +161,7 @@ def main_object(context, obj, level, **kw): group_objects = group.objects[:] for obj_cell in objects: if obj_cell not in group_objects: + collection.objects.unlink(obj_cell) group.objects.link(obj_cell) if kw_copy["use_debug_redraw"]: |