Merge pull request #57 from devZoGok/bf-54-armature-mod

bf-54-armature-mod
This commit is contained in:
devZoGok
2024-07-27 16:44:53 +00:00
committed by GitHub
+1 -1
View File
@@ -252,7 +252,7 @@ def export(node, parentTag):
armatureMod = 'Armature' armatureMod = 'Armature'
if(node.modifiers and node.modifiers[armatureMod] and node.modifiers[armatureMod].object): if(node.modifiers and armatureMod in list(node.modifiers.keys()) and node.modifiers[armatureMod].object):
skeleton = node.modifiers[armatureMod].object skeleton = node.modifiers[armatureMod].object
meshTag.set('skeleton', skeleton.data.name_full) meshTag.set('skeleton', skeleton.data.name_full)
elif node.type == 'ARMATURE': elif node.type == 'ARMATURE':