OSDN Git Service

separate vertex with uv or normal.
[meshio/meshio.git] / swig / blender25 / import_scene_mqo.py
index 2e45256..254b826 100644 (file)
@@ -208,9 +208,9 @@ class IMPORT_OT_mqo(bpy.types.Operator):
 ###############################################################################
 # register menu
 ###############################################################################
-menu_func = lambda self, context: self.layout.operator(
-        IMPORT_OT_mqo.bl_idname, text="Metasequoia (.mqo)")
-
+def menu_func(self, context): 
+    self.layout.operator(IMPORT_OT_mqo.bl_idname, 
+            text="Metasequoia (.mqo)")
 
 def register():
     bpy.types.register(IMPORT_OT_mqo)