taniwha / io_object_mu

Python .mu reader/writer and blender import/export addon
GNU General Public License v2.0
120 stars 51 forks source link

AttributeError: 'Mesh' object has no attribute 'calc_normals'. #78

Closed Fxxndxn closed 2 months ago

Fxxndxn commented 7 months ago

I failed in exporting mu files

Traceback (most recent call last): File "G:\Blender\4.0\scripts\addons\io_object_mu-master\export_mu\operators.py", line 68, in execute return export_mu(self, context, **keywords) File "G:\Blender\4.0\scripts\addons\io_object_mu-master\export_mu\operators.py", line 39, in export_mu mu = export.export_object (context.active_object, filepath) File "G:\Blender\4.0\scripts\addons\io_object_mu-master\export_mu\export.py", line 181, in export_object mu.obj = make_obj(mu, obj, "") File "G:\Blender\4.0\scripts\addons\io_object_mu-master\export_mu\export.py", line 116, in make_obj return make_obj_core(mu, obj, path, muobj) File "G:\Blender\4.0\scripts\addons\io_object_mu-master\export_mu\export.py", line 83, in make_obj_core muobj = type_handlers[type(obj.data)](obj, muobj, mu) File "G:\Blender\4.0\scripts\addons\io_object_mu-master\export_mu\mesh.py", line 314, in handle_mesh muobj.shared_mesh = make_mesh(mu, obj) File "G:\Blender\4.0\scripts\addons\io_object_mu-master\export_mu\mesh.py", line 233, in make_mesh vertex_data = get_vertex_data(mu, mesh, obj) File "G:\Blender\4.0\scripts\addons\io_object_mu-master\export_mu\mesh.py", line 76, in get_vertex_data mesh.calc_normals() AttributeError: 'Mesh' object has no attribute 'calc_normals'. Did you mean: 'flip_normals'?