X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=blender%2Fio_mspgl%2Fexport_object.py;h=a8af6d1f9b6a87e2334fa4deeafe74062c66821c;hp=d89afd05df667fb7c26d648a167bde38cc7ff8f8;hb=328ac951d8df830e1c9ee469b4ab073e9163606d;hpb=4d7f66ea28c788e12f700216b9c53af9e71b8390 diff --git a/blender/io_mspgl/export_object.py b/blender/io_mspgl/export_object.py index d89afd05..a8af6d1f 100644 --- a/blender/io_mspgl/export_object.py +++ b/blender/io_mspgl/export_object.py @@ -17,7 +17,7 @@ class ObjectExporter: self.external_tech = True self.shared_tech = True - def export(self, context, out_file, objs=None): + def export(self, context, out_file, objs=None, progress=None): if objs is None: obj = context.active_object else: @@ -35,11 +35,11 @@ class ObjectExporter: path, base = os.path.split(out_file.filename) base, ext = os.path.splitext(base) mesh_out = open_output(os.path.join(path, base+".mesh")) - mesh = mesh_export.export(context, mesh_out, objs) + mesh = mesh_export.export(context, mesh_out, objs, progress) out_file.write("mesh", '"{}.mesh"'.format(base)) else: out_file.begin("mesh") - mesh = mesh_export.export(context, out_file, objs) + mesh = mesh_export.export(context, out_file, objs, progress) out_file.end() if self.external_tech and obj.technique: