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:
authorHoward Trickey <howard.trickey@gmail.com>2019-09-17 16:33:59 +0300
committerHoward Trickey <howard.trickey@gmail.com>2019-09-17 16:33:59 +0300
commit22c9a9983e6e348b749bd06854d1fffb19400b12 (patch)
tree33a4122ca9023efb0146b627359c42822acb14fb /mesh_inset
parentd3443dc5fc9896bc0d04c2cc4a57a38e23cc08e7 (diff)
Added the Inset Straight Skeleton command to edit faces menu when installed.
Diffstat (limited to 'mesh_inset')
-rw-r--r--mesh_inset/__init__.py4
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)