niacdoial / blemd

BMD importer for blender (BDL format also partially supported)
GNU General Public License v3.0
32 stars 13 forks source link

custom normals not imported in Blender 4.1+ #91

Closed edbefee3-3888-462a-9411-741b7e9eb54e closed 1 month ago

edbefee3-3888-462a-9411-741b7e9eb54e commented 2 months ago

when importing any mesh, the following error is given: ERROR bpy.ops.import_mesh.bmd.main Normals weren't set (error is 'Mesh' object has no attribute 'create_normals_split') (x1) this is due to differences in the 3.6+ API, where create_normals_split has been replaced deprecated in favor of Mesh.corner_normals

edbefee3-3888-462a-9411-741b7e9eb54e commented 2 months ago

simply removing that line seems to fix the issue

niacdoial commented 1 month ago

kinda took a while, but yeah, that call first turned useless, then got removed from the API altogether. the latest commit should take care of this thanks for spotting all this!