[Bf-extensions-cvs] [e1d44bf3] master: Magic UV: Pass correct argument for operator identifier
Pratik Borhade
noreply at git.blender.org
Wed Feb 9 11:17:51 CET 2022
Commit: e1d44bf37501eb19a057777bd0b0ba4484773531
Author: Pratik Borhade
Date: Wed Feb 9 19:04:19 2022 +0900
Branches: master
https://developer.blender.org/rBAe1d44bf37501eb19a057777bd0b0ba4484773531
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
===================================================================
M magic_uv/ui/IMAGE_MT_uvs.py
===================================================================
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
More information about the Bf-extensions-cvs
mailing list