You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: