[Bf-extensions-cvs] [1a1ba20a] master: Fix object_fracture_cell, collection option
Campbell Barton
noreply at git.blender.org
Mon Jul 15 03:10:12 CEST 2019
Commit: 1a1ba20a888e1e1e7aaf31ffabc56660a5d004d5
Author: Campbell Barton
Date: Mon Jul 15 11:09:07 2019 +1000
Branches: master
https://developer.blender.org/rBA1a1ba20a888e1e1e7aaf31ffabc56660a5d004d5
Fix object_fracture_cell, collection option
Was adding to both the main scene as well as the named collection.
===================================================================
M object_fracture_cell/__init__.py
===================================================================
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"]:
More information about the Bf-extensions-cvs
mailing list