Fix: glTF Exporter: Another sanity check about slot

This commit is contained in:
Julien Duroure
2025-03-02 08:02:56 +01:00
parent bb2f74e8ce
commit 5ddff2562b
2 changed files with 3 additions and 1 deletions

View File

@@ -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, 53),
"version": (4, 4, 54),
'blender': (4, 4, 0),
'location': 'File > Import-Export',
'description': 'Import-Export as glTF 2.0',

View File

@@ -496,7 +496,9 @@ def gather_action_animations(obj_uuid: int,
if on_type == "OBJECT": # Not for shapekeys!
if blender_object.animation_data.action is None \
or (blender_object.animation_data.action.name != blender_action.name) \
or (blender_object.animation_data.action_slot is None) \
or (blender_object.animation_data.action_slot.handle != slot.slot.handle):
if blender_object.animation_data.is_property_readonly('action'):
blender_object.animation_data.use_tweak_mode = False
try: