From: Mikko Rasa Date: Fri, 11 Mar 2022 21:43:54 +0000 (+0200) Subject: Use mesh as the task object when exporting it X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=ef2192e9f19a2c8a2735c3c2ce588e640bea46c4;p=libs%2Fgl.git Use mesh as the task object when exporting it --- diff --git a/blender/io_mspgl/export_object.py b/blender/io_mspgl/export_object.py index c79d7d0e..476927af 100644 --- a/blender/io_mspgl/export_object.py +++ b/blender/io_mspgl/export_object.py @@ -62,7 +62,7 @@ class ObjectExporter: mesh_name = l.data.name+".mesh" if mesh_name not in resources: - subtask = task.task(l, 1.0) + subtask = task.task(l.data, 1.0) mesh = create_mesh_from_object(subtask, l, material_atlas) mesh_res = mesh_export.export_mesh(subtask, mesh) resources[mesh_name] = mesh_res