BadDogSkyrim / PyNifly

Export/Import tools between Blender and the Nif format, using Bodyslide/Outfit Studio's Nifly layer. Supports Skyrim LE, Skyrim SE, Fallout 4, Fallout New Vegas, Fallout 76, and Fallout 3.
GNU General Public License v3.0
179 stars 16 forks source link

4.1 changes to the python API remove some properties used by the add-on #206

Closed Novelyst closed 7 months ago

Novelyst commented 7 months ago

Because of the changes found here, mesh import and export do not work in 4.1. Specifically, Mesh.use_autosmooth has been removed and this affects the import process. I think line 313 in __init_\, the_mesh.use_auto_smooth = True can just be removed/put into a try/except. The other removed feature, Mesh.calc_normalssplit(), is used three times, once in __init_\ and twice in tests. I think the one in init can be moved the the try: above it. For the tests, I'm not familiar with their purposes so I've set them to FALSE for now for myself. Import and Export seem to work.

BadDogSkyrim commented 7 months ago

I'll check it out. Freakin' A, I wish Blender would at least preserve backwards compatibility in minor version updates.

Novelyst commented 7 months ago

Tested import and export with no issues and looked at the 4.1 fixes. Everything looks fine to me, so I'm closing this now. Thank you!