From 56679d30016216076973ae07a06632ef3fd82b5b Mon Sep 17 00:00:00 2001 From: Julien Duroure Date: Thu, 12 Sep 2024 16:09:00 +0200 Subject: [PATCH] Fix check --- addons/io_scene_gltf2/blender/exp/mesh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/io_scene_gltf2/blender/exp/mesh.py b/addons/io_scene_gltf2/blender/exp/mesh.py index fa973b163..8f39fd3b5 100644 --- a/addons/io_scene_gltf2/blender/exp/mesh.py +++ b/addons/io_scene_gltf2/blender/exp/mesh.py @@ -159,7 +159,7 @@ def __gather_weights(blender_mesh: bpy.types.Mesh, return None # Not for GN Instances - if blender_mesh.is_evaluated is True and blender_mesh.get('gltf2_mesh_applied'): + if blender_mesh.is_evaluated is True and blender_mesh.get('gltf2_mesh_applied') is None: return None morph_max = len(blender_mesh.shape_keys.key_blocks) - 1