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 /object_skinify.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 'object_skinify.py')
-rw-r--r--object_skinify.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/object_skinify.py b/object_skinify.py
index 177f8de9..f102d8cf 100644
--- a/object_skinify.py
+++ b/object_skinify.py
@@ -551,8 +551,8 @@ def generate_mesh(shape_object, size, thickness=0.8, finger_thickness=0.25, sub_
# object mode apply all modifiers
if apply_mod:
- bpy.ops.object.modifier_apply(override, apply_as='DATA', modifier="Skin")
- bpy.ops.object.modifier_apply(override, apply_as='DATA', modifier="Subsurf")
+ bpy.ops.object.modifier_apply(override, modifier="Skin")
+ bpy.ops.object.modifier_apply(override, modifier="Subsurf")
return {'FINISHED'}