]> git.tdb.fi Git - libs/gl.git/blobdiff - blender/io_mspgl/export_scene.py
Rename material map to material atlas in the exporter
[libs/gl.git] / blender / io_mspgl / export_scene.py
index a3f0a4e44a5823eae380acac69b9b9d9bc78f4d4..bec779cc9097a9f0256c2df6b9cb45f51a30d1e6 100644 (file)
@@ -92,11 +92,11 @@ class SceneExporter:
                object_export = ObjectExporter()
                object_export.single_file = False
 
-               material_maps = {}
+               material_atlass = {}
 
                for i, o in enumerate(objs):
                        progress.push_task_slice(o.name, i, len(objs))
-                       object_export.export_object_resources(context, o, resources, progress, material_maps=material_maps)
+                       object_export.export_object_resources(context, o, resources, progress, material_atlass=material_atlass)
                        obj_name = o.name+".object"
                        resources[obj_name] = object_export.export_object(context, o, progress, resources=resources)
                        progress.pop_task()