From 41cd31fa6675a74f6b75d0baf05ada39cfcc2f81 Mon Sep 17 00:00:00 2001 From: Scott Michaud Date: Sat, 6 Dec 2014 03:32:28 -0500 Subject: [PATCH] Fixed access from Vertex menu (Ctrl + V) Set a flag that allows Blender to run a required, invoke method --- mesh_makecoplanar.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mesh_makecoplanar.py b/mesh_makecoplanar.py index 9a71c30..b63671c 100644 --- a/mesh_makecoplanar.py +++ b/mesh_makecoplanar.py @@ -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():