mat_name = material.name+".mat"
if mat_name not in resources:
if material.type:
- resources[mat_name] = self.export_material(material, resources=resources)
+ resources[mat_name] = self.export_material(material, resources)
else:
resources[mat_name] = None
- def export_technique(self, material, *, resources):
+ def export_technique(self, material, resources):
return create_technique_resource(material, resources)
- def export_material(self, material, *, resources):
+ def export_material(self, material, resources):
from .datafile import Resource, Statement, Token
mat_res = Resource(material.name+".mat", "material")
resources[mat_name] = mat_res
- def export_technique(self, material_atlas, *, resources):
+ def export_technique(self, material_atlas, resources):
return create_technique_resource(material_atlas, resources)