Magic UV: Pass correct argument for operator identifier

Fix the invalid argument passed in place of operator id.

Reviewed By: Nutti

Differential Revision: https://developer.blender.org/D13980
This commit is contained in:
Pratik Borhade 2022-02-09 19:04:19 +09:00 committed by Philipp Oeser
parent cc971e509d
commit a99ece999c
Notes: blender-bot 2023-02-13 12:29:31 +01:00
Referenced by issue blender/blender#88449: Blender LTS: Maintenance Task 2.93
Referenced by issue blender/blender#88449, Blender LTS: Maintenance Task 2.93
1 changed files with 2 additions and 1 deletions

View File

@ -107,7 +107,8 @@ class MUV_MT_AlignUV(bpy.types.Menu):
ops.group = sc.muv_align_uv_snap_point_group
ops.target = sc.muv_align_uv_snap_point_target
ops = layout.operator(MUV_OT_AlignUV_SnapToEdge, text="Snap to Edge")
ops = layout.operator(MUV_OT_AlignUV_SnapToEdge.bl_idname,
text="Snap to Edge")
ops.group = sc.muv_align_uv_snap_edge_group
ops.target_1 = sc.muv_align_uv_snap_edge_target_1
ops.target_2 = sc.muv_align_uv_snap_edge_target_2