UuuNyaa / blender_mmd_tools

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

Root bone collection problem #160

Open fmnijk opened 5 months ago

fmnijk commented 5 months ago

fix #159

fmnijk commented 5 months 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