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 /add_mesh_extra_objects
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 'add_mesh_extra_objects')
-rw-r--r--add_mesh_extra_objects/add_mesh_round_brilliant.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/add_mesh_extra_objects/add_mesh_round_brilliant.py b/add_mesh_extra_objects/add_mesh_round_brilliant.py
index 49232151..bdd9b68c 100644
--- a/add_mesh_extra_objects/add_mesh_round_brilliant.py
+++ b/add_mesh_extra_objects/add_mesh_round_brilliant.py
@@ -298,7 +298,7 @@ def addBrilliant(context, self, s, table_w, crown_h, girdle_t, pavi_d, bezel_f,
bpy.context.tool_settings.mesh_select_mode = sel_mode
bpy.ops.object.mode_set(mode='OBJECT', toggle=False)
- bpy.ops.object.modifier_apply(apply_as='DATA', modifier="EdgeSplit")
+ bpy.ops.object.modifier_apply(modifier="EdgeSplit")
return dobj