X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=blender%2Fio_mspgl%2F__init__.py;h=b24f28d988578c1b17637f18b69c901367723134;hb=ea3e95735fcd9d6a80d23dbd90667eb2f1c95ef4;hp=724d625be566ee853f7a3f44836c32f34a885e10;hpb=04c89988c7eda12ea763a9283df0aeba177a11ad;p=libs%2Fgl.git diff --git a/blender/io_mspgl/__init__.py b/blender/io_mspgl/__init__.py index 724d625b..b24f28d9 100644 --- a/blender/io_mspgl/__init__.py +++ b/blender/io_mspgl/__init__.py @@ -7,7 +7,7 @@ bl_info = { if "bpy" in locals(): import imp - for sub in "armature", "export_armature", "export_mesh", "export_object", "export_scene", "mesh", "outfile", "properties", "util": + for sub in "armature", "datafile", "export_armature", "export_material", "export_mesh", "export_object", "export_scene", "export_texture", "mesh", "properties", "util": if sub in locals(): imp.reload(locals()[sub]) @@ -20,7 +20,7 @@ class ExportMspGLBase(ExportHelper): def execute(self, context): exporter = self.create_exporter() self.prepare_exporter(exporter) - exporter.export(context, self.filepath) + exporter.export_to_file(context, self.filepath) return {"FINISHED"} def create_exporter(self):