Skip to content

Commit

Permalink
fix indenting
Browse files Browse the repository at this point in the history
  • Loading branch information
akikoee committed Jan 13, 2025
1 parent a23c74d commit ca61204
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions i_scene_cp77_gltf/importers/import_with_materials.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,15 +189,14 @@ def CP77GLBimport(self, with_materials, remap_depot, exclude_unused_mats=True, i
import_mats(current_file_base_path, DepotPath, exclude_unused_mats, existingMeshes, gltf_importer, image_format, mats, validmats)

if import_garmentsupport:
manage_garment_support(existingMeshes, gltf_importer)
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.key_blocks:
shapekey.id_data.tag = True

# 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.key_blocks:
shapekey.id_data.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 ca61204

Please sign in to comment.