From a64920d742643177e0e83a83c3840ec4524c1428 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sat, 13 Feb 2021 18:05:34 +0200 Subject: [PATCH] Add description fields to the export operators --- blender/io_mspgl/__init__.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/blender/io_mspgl/__init__.py b/blender/io_mspgl/__init__.py index bccff005..55661f51 100644 --- a/blender/io_mspgl/__init__.py +++ b/blender/io_mspgl/__init__.py @@ -58,6 +58,7 @@ class ExportMspGLMeshBase(ExportMspGLBase): class ExportMspGLMesh(bpy.types.Operator, ExportMspGLMeshBase): bl_idname = "export_mesh.mspgl_mesh" bl_label = "Export Msp GL mesh" + bl_description = "Export one or more meshes in Msp GL format" filename_ext = ".mesh" @@ -68,6 +69,7 @@ class ExportMspGLMesh(bpy.types.Operator, ExportMspGLMeshBase): class ExportMspGLObject(bpy.types.Operator, ExportMspGLMeshBase): bl_idname = "export_mesh.mspgl_object" bl_label = "Export Msp GL object" + bl_description = "Export one or more objects in Msp GL format" filename_ext = ".object" @@ -100,6 +102,7 @@ class ExportMspGLObject(bpy.types.Operator, ExportMspGLMeshBase): class ExportMspGLArmature(bpy.types.Operator, ExportMspGLBase): bl_idname = "export.mspgl_armature" bl_label = "Export Msp GL armature" + bl_description = "Export an armature in Msp GL format" filename_ext = ".arma" @@ -110,6 +113,7 @@ class ExportMspGLArmature(bpy.types.Operator, ExportMspGLBase): class ExportMspGLAnimation(bpy.types.Operator, ExportMspGLBase): bl_idname = "export.mspgl_animation" bl_label = "Export Msp GL animation" + bl_description = "Export one or more animations in Msp GL format" filename_ext = ".anim" @@ -136,6 +140,7 @@ class ExportMspGLAnimation(bpy.types.Operator, ExportMspGLBase): class ExportMspGLScene(bpy.types.Operator, ExportMspGLBase): bl_idname = "export_scene.mspgl_scene" bl_label = "Export Msp GL scene" + bl_description = "Export the active scene in Msp GL format" filename_ext = ".scene" @@ -159,6 +164,7 @@ class ExportMspGLScene(bpy.types.Operator, ExportMspGLBase): class ExportMspGLCamera(bpy.types.Operator, ExportMspGLBase): bl_idname = "export.mspgl_camera" bl_label = "Export Msp GL camera" + bl_description = "Export a camera in Msp GL format" filename_ext = ".camera" -- 2.43.0