[Bf-extensions-cvs] [0ac377d8] blender2.8: FBX import: Fix removed 'show_edge_sharp' parameter from meshes.
Bastien Montagne
noreply at git.blender.org
Sun Sep 30 17:13:48 CEST 2018
Commit: 0ac377d853b84c83c4701be58d8870803ecaaa9c
Author: Bastien Montagne
Date: Sun Sep 30 17:12:49 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBA0ac377d853b84c83c4701be58d8870803ecaaa9c
FBX import: Fix removed 'show_edge_sharp' parameter from meshes.
That kind of display helpers are now fully overlays settings, no way for
us to set that to meshes anymore.
===================================================================
M io_scene_fbx/import_fbx.py
===================================================================
diff --git a/io_scene_fbx/import_fbx.py b/io_scene_fbx/import_fbx.py
index 8dd60543..e092ee3e 100644
--- a/io_scene_fbx/import_fbx.py
+++ b/io_scene_fbx/import_fbx.py
@@ -1086,7 +1086,6 @@ def blen_read_geom_layer_smooth(fbx_obj, mesh):
)
# We only set sharp edges here, not face smoothing itself...
mesh.use_auto_smooth = True
- mesh.show_edge_sharp = True
return False
elif fbx_layer_mapping == b'ByPolygon':
blen_data = mesh.polygons
@@ -1256,7 +1255,6 @@ def blen_read_geom(fbx_tmpl, fbx_obj, settings):
mesh.normals_split_custom_set(tuple(zip(*(iter(clnors),) * 3)))
mesh.use_auto_smooth = True
- mesh.show_edge_sharp = True
else:
mesh.calc_normals()
More information about the Bf-extensions-cvs
mailing list