mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix: correct bl_run_operators.py regression, error in API update
!133399 mixed up the API call with the operator.
This commit is contained in:
parent
f5fc3e0653
commit
fce2790a17
1 changed files with 1 additions and 2 deletions
|
|
@ -127,8 +127,7 @@ def ctx_editmode_mesh_extra():
|
|||
bpy.ops.wm.read_factory_settings(use_empty=False)
|
||||
bpy.ops.object.vertex_group_add()
|
||||
bpy.ops.object.shape_key_add(from_mix=False) # Basis Key
|
||||
shape_key = bpy.ops.object.shape_key_add(from_mix=True)
|
||||
shape_key.value = 0.0
|
||||
bpy.ops.object.shape_key_add(from_mix=True)
|
||||
bpy.ops.mesh.uv_texture_add()
|
||||
bpy.ops.object.material_slot_add()
|
||||
# editmode last!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue