UuuNyaa / blender_mmd_tools

MMD Tools is a blender addon for importing/exporting Models and Motions of MikuMikuDance.
GNU General Public License v3.0
1.91k stars 91 forks source link

Root bone collection problem #160

Open fmnijk opened 1 week ago

fmnijk commented 1 week ago

fix #159

fmnijk commented 1 week ago

Although I initially solved the issue by adding a root collection, I also updated exporter.py to better align with Blender's behavior. In Blender, when a bone doesn't belong to any collection, it can still be visible. Reflecting this, I modified the exporter so that when a bone isn't associated with any collection, its visibility is solely determined by whether it is hidden or not. This approach ensures consistency with Blender's native functionality.

Snipaste_2024-06-25_04-27-42