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:
Campbell Barton 2025-11-07 02:14:30 +00:00
parent f5fc3e0653
commit fce2790a17

View file

@ -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!