Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes in Bone Targeting During Model Import/Export #156

Open
kafeijk opened this issue Jun 9, 2024 · 1 comment
Open

Changes in Bone Targeting During Model Import/Export #156

kafeijk opened this issue Jun 9, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@kafeijk
Copy link

kafeijk commented Jun 9, 2024

  • Blender 3.6
  • mmd_tools v2.10.2
  • Windows 11

I added an 'upper body2' bone to a model without a sub-standard bone (such as the MIKU model from early MMD). After importing the modified model into Blender and then exporting it, I checked it in PmxEditor. Previously, the 'upper body' bone targeted 'upper body2,' but now it has changed to a relative position.
before:
image

after:
无标题

When importing the model, the head and tail are checked using EditBone, but it's not the EditBone type here.
https://github.com/UuuNyaa/blender_mmd_tools/blob/d148bdbd520a0ddb2ffd0389a0217a297ad107f0/mmd_tools/core/pmx/exporter.py#L407C29-L407C83
I'm not sure if the current situation is due to the code or if the file structure is inherently like this.

@kafeijk
Copy link
Author

kafeijk commented Jun 12, 2024

Additionally, if the target changes, the local axes in MMD will also change accordingly.
before:
无标题
after:
无标题2

@UuuNyaa UuuNyaa added the bug Something isn't working label Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants