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
176 stars 16 forks source link

Vertex Colors not exported for multiple objects #157

Closed Lance2047 closed 1 year ago

Lance2047 commented 1 year ago

Hello,

great & straightforward tool! Only that I don't seem to be able to correctly export (RGB) Vertex Colors for multiple objects. When I export them individually the vertex colors are correctly transferred. Is that my fault due to missing configuration, or is multi-object Vertex Colors export not supported?

Using Blender Version: 3.3.1 with the newest version of your plugin

Steps:

sample

BadDogSkyrim commented 1 year ago

OK, that's wierd. Will check it out.

Lance2047 commented 1 year ago

Did some further testing and multi-object Vertex Colors are only then not exported, when the name is not "unique" e.g., object "Cube" is duplicated or split -> duplicate Cube is named: "Cube.001".

Apparently it gets confused, when Blender adds the increment suffix to the object name. So as a workaround giving each object a truly unique name fixes it.

BadDogSkyrim commented 1 year ago

OK, thanks, helpful. Still no idea why that's a problem.

I have the whole DLL spread out across the floor in parts. When I get it back together I'll have a look.

BadDogSkyrim commented 1 year ago

Fixed in upcoming release.