[Bf-extensions-cvs] [816a19f2] blender2.8: glTF importer: set option descriptions
Julien Duroure
noreply at git.blender.org
Wed Dec 5 22:18:46 CET 2018
Commit: 816a19f273791958c981c18a340309d25263a4f1
Author: Julien Duroure
Date: Wed Dec 5 22:17:30 2018 +0100
Branches: blender2.8
https://developer.blender.org/rBA816a19f273791958c981c18a340309d25263a4f1
glTF importer: set option descriptions
===================================================================
M io_scene_gltf2/__init__.py
===================================================================
diff --git a/io_scene_gltf2/__init__.py b/io_scene_gltf2/__init__.py
index 1f7f7b01..769c3be6 100755
--- a/io_scene_gltf2/__init__.py
+++ b/io_scene_gltf2/__init__.py
@@ -437,11 +437,15 @@ class ImportGLTF2(Operator, ImportHelper):
filter_glob: StringProperty(default="*.glb;*.gltf", options={'HIDDEN'})
- loglevel: EnumProperty(items=Log.get_levels(), name="Log Level", default=Log.default())
+ loglevel: EnumProperty(
+ items=Log.get_levels(),
+ name="Log Level",
+ description="Set level of log to display",
+ default=Log.default())
import_pack_images: BoolProperty(
name='Pack images',
- description='',
+ description='Pack all images into .blend file',
default=True
)
@@ -450,6 +454,7 @@ class ImportGLTF2(Operator, ImportHelper):
items=(("NORMALS", "Use Normal Data", ""),
("FLAT", "Flat Shading", ""),
("SMOOTH", "Smooth Shading", "")),
+ description="How normals are computed during import",
default="NORMALS")
def draw(self, context):
More information about the Bf-extensions-cvs
mailing list