Added the Inset Straight Skeleton command to edit faces menu when installed.

This commit is contained in:
Howard Trickey 2019-09-17 09:33:59 -04:00
parent d3443dc5fc
commit 22c9a9983e
1 changed files with 4 additions and 0 deletions

View File

@ -317,9 +317,13 @@ def remove_dups(vs):
seen = set()
return [x for x in vs if not (x in seen or seen.add(x))]
def menu(self, context):
self.layout.operator("mesh.insetstraightskeleton", text="Inset Straight Skeleton")
def register():
bpy.utils.register_class(MESH_OT_InsetStraightSkeleton)
bpy.types.VIEW3D_MT_edit_mesh_faces.append(menu)
def unregister():
bpy.utils.unregister_class(MESH_OT_InsetStraightSkeleton)
bpy.types.VIEW3D_MT_edit_mesh_faces.remove(menu)