|
|
@ -12,7 +12,7 @@ def writeBml(anim, filename): |
|
|
|
root.attrib['channels'] = str(anim.dimension.channels) |
|
|
|
root.attrib['channels'] = str(anim.dimension.channels) |
|
|
|
|
|
|
|
|
|
|
|
header = ET.Element('header') |
|
|
|
header = ET.Element('header') |
|
|
|
for (name, val) in anim.tags: |
|
|
|
for (name, val) in anim.tags.items(): |
|
|
|
elem = ET.Element(name) |
|
|
|
elem = ET.Element(name) |
|
|
|
elem.text = str(val) |
|
|
|
elem.text = str(val) |
|
|
|
header.append(elem) |
|
|
|
header.append(elem) |
|
|
|