diff options
author | Howard Trickey <howard.trickey@gmail.com> | 2019-09-17 16:33:59 +0300 |
---|---|---|
committer | Howard Trickey <howard.trickey@gmail.com> | 2019-09-17 16:33:59 +0300 |
commit | 22c9a9983e6e348b749bd06854d1fffb19400b12 (patch) | |
tree | 33a4122ca9023efb0146b627359c42822acb14fb | |
parent | d3443dc5fc9896bc0d04c2cc4a57a38e23cc08e7 (diff) |
Added the Inset Straight Skeleton command to edit faces menu when installed.
-rw-r--r-- | mesh_inset/__init__.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mesh_inset/__init__.py b/mesh_inset/__init__.py index 8702b390..e8338d92 100644 --- a/mesh_inset/__init__.py +++ b/mesh_inset/__init__.py @@ -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) |