Fixed void material for Python API

This commit is contained in:
Sterling M. Harper 2015-04-24 19:13:22 -04:00
parent f3cd40ec8c
commit 8802ccf18e

View file

@ -345,6 +345,9 @@ class Cell(object):
element.set("fill", str(self._fill._id))
self._fill.create_xml_subelement(xml_element)
elif self._fill == "void":
element.set("material", "void")
else:
element.set("fill", str(self._fill))
self._fill.create_xml_subelement(xml_element)