mat_name = material.name+".mat"
mat_out = open_output(os.path.join(path, mat_name))
self.export_material(material, mat_out)
- out_file.write("material", '""', '"{}"'.format(mat_name))
+ out_file.write("material", '"surface"', '"{}"'.format(mat_name))
out_file.end()
out_file.end()
else: