Skip to content

Commit

Permalink
Fixed access from Vertex menu (Ctrl + V)
Browse files Browse the repository at this point in the history
Set a flag that allows Blender to run a required, invoke method
  • Loading branch information
ScottMichaud committed Dec 6, 2014
1 parent dec5bd8 commit 41cd31f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mesh_makecoplanar.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ def invoke(self, context, event):
return {'RUNNING_MODAL'}

def menu_func(self, context):
self.layout.operator_context = 'INVOKE_DEFAULT'
self.layout.operator(MakeCoplanar.bl_idname, text="Make Coplanar")

def register():
Expand Down

0 comments on commit 41cd31f

Please sign in to comment.