From ef2192e9f19a2c8a2735c3c2ce588e640bea46c4 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Fri, 11 Mar 2022 23:43:54 +0200 Subject: [PATCH] Use mesh as the task object when exporting it --- blender/io_mspgl/export_object.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.45.2