glTF exporter: fix normals when changed by bevel modifier

This commit is contained in:
Julien Duroure 2020-01-16 13:52:19 +01:00
parent 7ae27d2b01
commit 6238248739
2 changed files with 3 additions and 2 deletions

View File

@ -15,7 +15,7 @@
bl_info = {
'name': 'glTF 2.0 format',
'author': 'Julien Duroure, Norbert Nopper, Urs Hanselmann, Moritz Becher, Benjamin Schmithüsen, Jim Eckerlein, and many external contributors',
"version": (1, 1, 38),
"version": (1, 1, 39),
'blender': (2, 81, 6),
'location': 'File > Import-Export',
'description': 'Import-Export as glTF 2.0',

View File

@ -238,7 +238,8 @@ def __gather_mesh(blender_object, export_settings):
modifier_normal_types = [
"NORMAL_EDIT",
"WEIGHTED_NORMAL"
"WEIGHTED_NORMAL",
"BEVEL"
]
# If not using vertex group, they are irrelevant for caching --> ensure that they do not trigger a cache miss