diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2020-07-15 11:37:16 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2020-07-15 11:37:16 +0300 |
commit | 38dfced7bba68b38b17322c0ea2acf18f27c1804 (patch) | |
tree | b30ca5aa47294619d317748ce7d002df3e160659 /archipack | |
parent | 19a666fb7f097ee8963223775d15da297f20e7fb (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 'archipack')
-rw-r--r-- | archipack/archipack_reference_point.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/archipack/archipack_reference_point.py b/archipack/archipack_reference_point.py index 99acf9d8..5548511c 100644 --- a/archipack/archipack_reference_point.py +++ b/archipack/archipack_reference_point.py @@ -298,8 +298,7 @@ class ARCHIPACK_OT_apply_holes(Operator): for mod in o.modifiers[:]: ctx['modifier'] = mod try: - bpy.ops.object.modifier_apply(ctx, apply_as='DATA', - modifier=mod.name) + bpy.ops.object.modifier_apply(ctx, modifier=mod.name) except: pass |