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>2018-12-06 00:17:30 +0300
committerJulien Duroure <julien.duroure@gmail.com>2018-12-06 00:17:30 +0300
commit816a19f273791958c981c18a340309d25263a4f1 (patch)
treecea153f8795d522b11694126beb8f76e318cf806
parentc850bf4fc1e167cecff3ca5711f7ef45241747f5 (diff)
glTF importer: set option descriptions
-rwxr-xr-xio_scene_gltf2/__init__.py9
1 files changed, 7 insertions, 2 deletions
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):