Skip to content

Commit

Permalink
add initial tagging idea
Browse files Browse the repository at this point in the history
  • Loading branch information
akikoee committed Jan 13, 2025
1 parent 4ae5e32 commit 0289d68
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions i_scene_cp77_gltf/importers/import_with_materials.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,13 @@ def CP77GLBimport(self, with_materials, remap_depot, exclude_unused_mats=True, i
if import_garmentsupport:
manage_garment_support(existingMeshes, gltf_importer)

# check shapekeys and tag them (imported shapekey)
for obj in existingMeshes:
if obj not in bpy.data.meshes.keys():
continue
for shapekey in bpy.data.meshes[obj].shape_keys:
shapekey.tag = True


if not cp77_addon_prefs.non_verbose:
print(f"GLB Import Time: {(time.time() - start_time)} Seconds")
Expand Down

0 comments on commit 0289d68

Please sign in to comment.