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:
authorCampbell Barton <ideasman42@gmail.com>2018-12-19 03:56:05 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-12-19 03:56:05 +0300
commit6a1ce20043860e4f836294d46a86b5fcf7fbf1a8 (patch)
treed99f11f29954067c147cde7b99e97ddb19ef5e00 /io_scene_fbx/import_fbx.py
parent156c5ea6a45d0549d8422e3ea295972dec7766c3 (diff)
parent9cc2ad1eaf941d8ed3b5542a3d5cdfccec7ba60b (diff)
Merge branch 'master' into blender2.8
Diffstat (limited to 'io_scene_fbx/import_fbx.py')
-rw-r--r--io_scene_fbx/import_fbx.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_fbx/import_fbx.py b/io_scene_fbx/import_fbx.py
index 8e4747b0..f35a6387 100644
--- a/io_scene_fbx/import_fbx.py
+++ b/io_scene_fbx/import_fbx.py
@@ -1124,7 +1124,7 @@ def blen_read_geom_layer_normal(fbx_obj, mesh, xform=None):
bdata = [None] * len(blen_data) if is_fake else blen_data
if func(mesh, bdata, "normal",
fbx_layer_data, fbx_layer_index, fbx_layer_mapping, fbx_layer_ref, 3, 3, layer_id, xform, True):
- if blen_data_type is "Polygons":
+ if blen_data_type == "Polygons":
for pidx, p in enumerate(mesh.polygons):
for lidx in range(p.loop_start, p.loop_start + p.loop_total):
mesh.loops[lidx].normal[:] = bdata[pidx]