X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=blender%2Fio_mspgl%2Fexport_material.py;fp=blender%2Fio_mspgl%2Fexport_material.py;h=792ab2903576ba4a10518fef480c06cb5cc49ac9;hb=3e4e6a2c15b5a61f6e713e12290cd10e82b20513;hp=69782b64cbb4cd7c3edf4fb3ebcd8064313141d3;hpb=cdb41a03865c72e69e7829641089fba4c361a56e;p=libs%2Fgl.git diff --git a/blender/io_mspgl/export_material.py b/blender/io_mspgl/export_material.py index 69782b64..792ab290 100644 --- a/blender/io_mspgl/export_material.py +++ b/blender/io_mspgl/export_material.py @@ -50,14 +50,9 @@ def create_technique_resource(material, resources): return tech_res class MaterialExporter: - def create_texture_exporter(self): - from .export_texture import TextureExporter - texture_export = TextureExporter() - return texture_export - def export_technique_resources(self, material, resources): - from .export_texture import SamplerExporter - texture_export = self.create_texture_exporter() + from .export_texture import SamplerExporter, TextureExporter + texture_export = TextureExporter() sampler_export = SamplerExporter() from .material import Material