Merge branch 'blender-v3.4-release'

This commit is contained in:
Julien Duroure 2022-11-11 17:27:18 +01:00
commit 68419fb365
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -112,7 +112,7 @@ class PrimitiveCreator:
self.armature = None
self.key_blocks = []
if self.export_settings[gltf2_blender_export_keys.APPLY] is False and self.blender_mesh.shape_keys and self.export_settings[gltf2_blender_export_keys.MORPH]:
if self.blender_mesh.shape_keys and self.export_settings[gltf2_blender_export_keys.MORPH]:
self.key_blocks = [
key_block
for key_block in self.blender_mesh.shape_keys.key_blocks