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 /space_view3d_modifier_tools.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 'space_view3d_modifier_tools.py')
-rw-r--r--space_view3d_modifier_tools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/space_view3d_modifier_tools.py b/space_view3d_modifier_tools.py
index aaef9b6a..1fb64635 100644
--- a/space_view3d_modifier_tools.py
+++ b/space_view3d_modifier_tools.py
@@ -58,7 +58,7 @@ class ApplyAllModifiers(Operator):
is_mod = True
try:
bpy.ops.object.modifier_apply(
- contx, apply_as='DATA',
+ contx,
modifier=contx['modifier'].name
)
except: