Skip to content

Commit

Permalink
Fix the import properly.
Browse files Browse the repository at this point in the history
  • Loading branch information
Simarilius-uk committed Apr 20, 2024
1 parent 16aa2bd commit 7e4f1f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion i_scene_cp77_gltf/importers/entity_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def importEnt( filepath='', appearances=[], exclude_meshes=[], with_materials=Tr
if len(anim_files)>0 and len(ent_rigs)>0: # we have glbs and we have rigs called up in the ent
# get the armatures already in the model
oldarms= [x for x in bpy.data.objects if 'Armature' in x.name]
animsinres=[x for x in anim_files if x[:-3]+'anims' in resolved]
animsinres=[x for x in anim_files if x[:-4] in resolved]
if len(animsinres)==0:
for anim in anim_files:
if os.path.exists(anim[:-3]+'anims.json'):
Expand Down

0 comments on commit 7e4f1f7

Please sign in to comment.