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

Regarding the issue where 'uuunyaa_tools' was successfully installed after modification but the error ['Bone' object has no attribute 'layers'] occurs #141

Open
RafealaSilva opened this issue Jan 29, 2025 · 0 comments

Comments

@RafealaSilva
Copy link

The error in the log is as follows:

Python: Traceback (most recent call last):
File "C:\Users\RafaelaSilva\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\mmd_uuunyaa_tools\converters\armatures\operators.py", line 300, in execute
self.change_mmd_bone_layer(mmd_armature_object)
File "C:\Users\RafaelaSilva\AppData\Roaming\Blender Foundation\Blender\4.2\scripts\addons\mmd_uuunyaa_tools\converters\armatures\operators.py", line 136, in change_mmd_bone_layer
mmd_bones[mmd_bone_name].layers[23] = True
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Bone' object has no attribute 'layers'

I have read the article: [Blender4.X-UPBGE_mmd-uuunyaa-tools_ERROR&FIX #117], and followed the author's instructions to modify lines 333 and 334 (actually, they should be lines 337 and 338). This successfully allowed my [uuunyaa_tools] to be installed in Blender 4.x, where it was previously unable to install, and now it can generate metarig and rigify successfully. However, when executing the [MMD compatibility focused Integrate], the error mentioned above occurs. I hope you can provide assistance. Thank you, this is a very powerful plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant