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:
authorIyad Ahmed <iyadahmed2001>2022-05-23 15:17:03 +0300
committerBastien Montagne <bastien@blender.org>2022-05-23 15:17:32 +0300
commit79410367854821cdf272a0c9976b323bd0356fbc (patch)
tree1c13462a5fc75f3c6d4f245d4a06cec4c2021a54
parent0f6fa4644a8b0f677a3550df3203d470a963a818 (diff)
Fix error in STL importer due to API change
when facet normals option is ticked in importer file dialog, it would trigger an error. Sharp edge draw option is now a settings from View3D Overlay. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D15001
-rw-r--r--io_mesh_stl/blender_utils.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/io_mesh_stl/blender_utils.py b/io_mesh_stl/blender_utils.py
index 0cfc428b..a6067cf4 100644
--- a/io_mesh_stl/blender_utils.py
+++ b/io_mesh_stl/blender_utils.py
@@ -36,7 +36,6 @@ def create_and_link_mesh(name, faces, face_nors, points, global_matrix):
mesh.normals_split_custom_set(tuple(zip(*(iter(clnors),) * 3)))
mesh.use_auto_smooth = True
- mesh.show_edge_sharp = True
mesh.free_normals_split()
mesh.update()