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:
authorJulien Duroure <julien.duroure@gmail.com>2019-02-08 22:54:55 +0300
committerJulien Duroure <julien.duroure@gmail.com>2019-02-08 22:54:55 +0300
commit4eca0fd18363d529f5bcdb76279688163855e9dc (patch)
treec1c2eaef0d6ed68a7affbe328e1209bc57a117f3
parentbe0e825355c92d38d5fa55e43591a950fc517a7f (diff)
glTF: Adding 'export/import' in operator label. It makes ops more easily foundable by search F3
-rwxr-xr-xio_scene_gltf2/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/io_scene_gltf2/__init__.py b/io_scene_gltf2/__init__.py
index 275fa96b..bcf6a5eb 100755
--- a/io_scene_gltf2/__init__.py
+++ b/io_scene_gltf2/__init__.py
@@ -424,7 +424,7 @@ class ExportGLTF2_Base:
class ExportGLTF2(bpy.types.Operator, ExportGLTF2_Base, ExportHelper):
"""Export scene as glTF 2.0 file"""
bl_idname = 'export_scene.gltf'
- bl_label = 'glTF 2.0 (.glb/.gltf)'
+ bl_label = 'Export glTF 2.0 (.glb/.gltf)'
filename_ext = ''
@@ -437,7 +437,7 @@ def menu_func_export(self, context):
class ImportGLTF2(Operator, ImportHelper):
bl_idname = 'import_scene.gltf'
- bl_label = 'glTF 2.0 (.glb/.gltf)'
+ bl_label = 'Import glTF 2.0 (.glb/.gltf)'
filter_glob: StringProperty(default="*.glb;*.gltf", options={'HIDDEN'})
@@ -497,7 +497,7 @@ class ImportGLTF2(Operator, ImportHelper):
def menu_func_import(self, context):
- self.layout.operator(ImportGLTF2.bl_idname, text=ImportGLTF2.bl_label)
+ self.layout.operator(ImportGLTF2.bl_idname, text='glTF 2.0 (.glb/.gltf)')
classes = (