Set shading flat by default to solve #3336

Before blender 3.6 it was setting flat shading by default, so we just keeping the same behaviour.
This commit is contained in:
Andrej730
2023-06-22 22:00:42 +05:00
parent 20f279dfa3
commit f79053433f
@@ -1719,6 +1719,7 @@ class IfcImporter:
mesh.polygons.add(num_loops)
mesh.polygons.foreach_set("loop_start", loop_start)
mesh.polygons.foreach_set("loop_total", loop_total)
mesh.polygons.foreach_set("use_smooth", [0]*total_faces)
mesh.update()
else:
e = geometry.edges