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:
Diffstat (limited to 'object_fracture/fracture_ops.py')
-rw-r--r--object_fracture/fracture_ops.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/object_fracture/fracture_ops.py b/object_fracture/fracture_ops.py
index f5687e3a..d2f88159 100644
--- a/object_fracture/fracture_ops.py
+++ b/object_fracture/fracture_ops.py
@@ -317,7 +317,7 @@ def fracture_group(context, group):
and (len(ob.users_group) == 0 or ob.users_group[0].name != group)):
tobesplit.append(ob)
- cutters = bpy.data.groups[group].objects
+ cutters = bpy.data.collections[group].objects
# @todo This can be optimized.
# Avoid booleans on obs where bbox doesn't intersect.
@@ -407,7 +407,7 @@ class FractureGroup(bpy.types.Operator):
description="Specify the group used for fracturing")
# e = []
-# for i, g in enumerate(bpy.data.groups):
+# for i, g in enumerate(bpy.data.collections):
# e.append((g.name, g.name, ''))
# group = EnumProperty(name='Group (hit F8 to refresh list)',
# items=e,
@@ -431,7 +431,7 @@ class FractureGroup(bpy.types.Operator):
def draw(self, context):
layout = self.layout
layout.prop(self, "exe")
- layout.prop_search(self, "group", bpy.data, "groups")
+ layout.prop_search(self, "group", bpy.data, "collections")
#####################################################################
# Import Functions