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:
authorBastien Montagne <montagne29@wanadoo.fr>2015-07-12 13:40:24 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2015-07-12 13:40:24 +0300
commitdb79c2aa5eed872e44f8462cfbc793011b4a8162 (patch)
tree2dd93a11d60595a4e39c8abf4ece520b444c4351 /io_scene_fbx/__init__.py
parent06545113736d893a3fbfa6d4f4465d297f8df893 (diff)
FBX Import: Add option to not import custom normals.
Diffstat (limited to 'io_scene_fbx/__init__.py')
-rw-r--r--io_scene_fbx/__init__.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/io_scene_fbx/__init__.py b/io_scene_fbx/__init__.py
index b91696df..184e6673 100644
--- a/io_scene_fbx/__init__.py
+++ b/io_scene_fbx/__init__.py
@@ -21,7 +21,7 @@
bl_info = {
"name": "FBX format",
"author": "Campbell Barton, Bastien Montagne, Jens Restemeier",
- "version": (3, 4, 4),
+ "version": (3, 4, 5),
"blender": (2, 74, 0),
"location": "File > Import-Export",
"description": "FBX IO meshes, UV's, vertex colors, materials, textures, cameras, lamps and actions",
@@ -90,6 +90,12 @@ class ImportFBX(bpy.types.Operator, ImportHelper, IOFBXOrientationHelper):
default=False,
)
+ use_custom_normals = BoolProperty(
+ name="Import Normals",
+ description="Import custom normals, if available (otherwise Blender will recompute them)",
+ default=True,
+ )
+
use_image_search = BoolProperty(
name="Image Search",
description="Search subdirs for any associated images (Warning, may be slow)",
@@ -181,6 +187,8 @@ class ImportFBX(bpy.types.Operator, ImportHelper, IOFBXOrientationHelper):
layout.prop(self, "global_scale")
layout.prop(self, "bake_space_transform")
+ layout.prop(self, "use_custom_normals")
+
layout.prop(self, "use_image_search")
# layout.prop(self, "use_alpha_decals")
layout.prop(self, "decal_offset")