diff options
author | Pratik Borhade <PratikPB2123> | 2022-02-09 13:04:19 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2022-02-22 12:17:32 +0300 |
commit | a99ece999c264a91b7401ee1761d70a661a3d270 (patch) | |
tree | 0b83f0814e91b6f4713725a2a9bf3440c84e09b2 | |
parent | cc971e509d26484cc00bf89af7d2599d7dcab34e (diff) |
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
-rw-r--r-- | magic_uv/ui/IMAGE_MT_uvs.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/magic_uv/ui/IMAGE_MT_uvs.py b/magic_uv/ui/IMAGE_MT_uvs.py index 79199cfd..8dc9ce52 100644 --- a/magic_uv/ui/IMAGE_MT_uvs.py +++ b/magic_uv/ui/IMAGE_MT_uvs.py @@ -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 |