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:
authorAlexander Gavrilov <angavrilov@gmail.com>2020-07-15 11:37:16 +0300
committerAlexander Gavrilov <angavrilov@gmail.com>2020-07-15 11:37:16 +0300
commit38dfced7bba68b38b17322c0ea2acf18f27c1804 (patch)
treeb30ca5aa47294619d317748ce7d002df3e160659 /mesh_auto_mirror.py
parent19a666fb7f097ee8963223775d15da297f20e7fb (diff)
Fix T78864: the apply_as parameter of modifier_apply was removed.
Explicitly specifying DATA was redundant anyway, as that was the default.
Diffstat (limited to 'mesh_auto_mirror.py')
-rw-r--r--mesh_auto_mirror.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/mesh_auto_mirror.py b/mesh_auto_mirror.py
index 1d89d4e7..47611668 100644
--- a/mesh_auto_mirror.py
+++ b/mesh_auto_mirror.py
@@ -194,8 +194,7 @@ class AutoMirror(bpy.types.Operator):
bpy.context.object.modifiers[-1].show_on_cage = automirror.show_on_cage
if automirror.apply_mirror:
bpy.ops.object.mode_set(mode = 'OBJECT')
- bpy.ops.object.modifier_apply(apply_as = 'DATA',
- modifier = bpy.context.object.modifiers[-1].name)
+ bpy.ops.object.modifier_apply(modifier = bpy.context.object.modifiers[-1].name)
if automirror.toggle_edit:
bpy.ops.object.mode_set(mode = 'EDIT')
else: