glTF exporter: export SK on no modifiers objects even if 'apply modifier' is on
This commit is contained in:
parent
a28c3f9cc0
commit
896ee4698f
|
@ -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, 4, 44),
|
||||
"version": (3, 4, 45),
|
||||
'blender': (3, 3, 0),
|
||||
'location': 'File > Import-Export',
|
||||
'description': 'Import-Export as glTF 2.0',
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue