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
committernutti <nutti.metro@gmail.com>2022-02-09 13:09:14 +0300
commite1d44bf37501eb19a057777bd0b0ba4484773531 (patch)
treefe67b3badd63845a24d31a9dd5d052ad758b1ec8 /magic_uv
parent089aef61debbece2baff6516e33fc7491629b1d0 (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
Diffstat (limited to 'magic_uv')
-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