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:
authorPratik Borhade <PratikPB2123>2022-02-09 13:04:19 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2022-02-22 12:17:32 +0300
commita99ece999c264a91b7401ee1761d70a661a3d270 (patch)
tree0b83f0814e91b6f4713725a2a9bf3440c84e09b2
parentcc971e509d26484cc00bf89af7d2599d7dcab34e (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.py3
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