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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/object_fracture/fracture_ops.py b/object_fracture/fracture_ops.py
index 83978a95..383d93d4 100644
--- a/object_fracture/fracture_ops.py
+++ b/object_fracture/fracture_ops.py
@@ -214,7 +214,7 @@ def boolop(ob, cutter, op):
if len(nmesh.vertices) > 0:
a.modifiers.remove(a.modifiers['Boolean'])
- bpy.ops.object.duplicate(linked=False, mode=1)
+ bpy.ops.object.duplicate(linked=False, mode='DUMMY')
new_shard = sce.objects.active
new_shard.data = nmesh