Fix: glTF exporter: fix missing check that a SK slot is assigned
This commit is contained in:
@@ -5,7 +5,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": (4, 4, 51),
|
||||
"version": (4, 4, 52),
|
||||
'blender': (4, 4, 0),
|
||||
'location': 'File > Import-Export',
|
||||
'description': 'Import-Export as glTF 2.0',
|
||||
|
||||
@@ -846,7 +846,7 @@ def __get_blender_actions(obj_uuid: str,
|
||||
and blender_object.data.shape_keys is not None \
|
||||
and blender_object.data.shape_keys.animation_data is not None:
|
||||
|
||||
if blender_object.data.shape_keys.animation_data.action is not None:
|
||||
if blender_object.data.shape_keys.animation_data.action is not None and blender_object.data.shape_keys.animation_data.action_slot is not None:
|
||||
|
||||
# Check the action is not in list of actions to ignore
|
||||
if hasattr(bpy.data.scenes[0], "gltf_action_filter") and id(blender_object.data.shape_keys.animation_data.action) in [
|
||||
|
||||
Reference in New Issue
Block a user