Fix: glTF importer shading flat/smoothv3.6.0
commit92e2024cb839e665763b9621d607151fcf8aa0cb
authorJulien Duroure <julien.duroure@gmail.com>
Mon, 26 Jun 2023 17:19:59 +0000 (26 19:19 +0200)
committerJulien DUROURE <julienduroure@noreply.localhost>
Mon, 26 Jun 2023 17:19:59 +0000 (26 19:19 +0200)
tree6857919daa5de31d237c8d2565a613c58ba4a966
parent06328e8aeaddf7c6df1a758ed9cbb3c535d651f5
Fix: glTF importer shading flat/smooth

glTF importer: fix shading flat/smooth. polygons were to be flat by default, now they are smooth.

So updating to flat when no normals in input glTF

Pull Request: https://projects.blender.org/blender/blender-addons/pulls/104717
io_scene_gltf2/__init__.py
io_scene_gltf2/blender/imp/gltf2_blender_mesh.py