mirror of
https://github.com/devZoGok/vb01.git
synced 2026-08-26 19:43:30 +00:00
Merge pull request #57 from devZoGok/bf-54-armature-mod
bf-54-armature-mod
This commit is contained in:
@@ -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':
|
||||||
|
|||||||
Reference in New Issue
Block a user