absolute-quantum / cats-blender-plugin

:smiley_cat: A tool designed to shorten steps needed to import and optimize models into VRChat. Compatible models are: MMD, XNALara, Mixamo, DAZ/Poser, Blender Rigify, Sims 2, Motion Builder, 3DS Max and potentially more
https://catsblenderplugin.com
MIT License
3.53k stars 456 forks source link

Fix Model - AttributeError 'Pose' object has no attribute 'bone_groups' #652

Open Flynsarmy opened 11 months ago

Flynsarmy commented 11 months ago

When clicking the 'Fix Model' button I get the following error in Blender 4.0.1:

Python: Traceback (most recent call last): File "C:\path\to\Blender\4.0\scripts\addons\cats-blender-plugin-development\tools\armature.py", line 497, in execute for group in armature.pose.bone_groups: AttributeError: 'Pose' object has no attribute 'bone_groups'

It looks like bone_groups was removed in from Pose in Blender 4. See https://docs.blender.org/api/current/bpy.types.Pose.html

Flynsarmy commented 11 months ago

Looks like it's fixed in #647 or #648

NiteSek commented 7 months ago

Soooooo,... How did you fix the issue my guy? ? I don't understand all these codes like U do, so i would appreciate if you gave me a straight forward explanation of what i need to do or edit to fix this problem. I'd really appreciate it my guy. I can even just screenshare call U on Discord. IDC, but i really do need the guidance senpai lol

Flynsarmy commented 7 months ago

Go to #648 'Files Changed' tab, look at the file paths being edited. Delete the red lines from your files and add the green lines.

NiteSek commented 7 months ago

Go to #648 'Files Changed' tab, look at the file paths being edited. Delete the red lines from your files and add the green lines.

I got everything done for Armature.py, but I am noticing a lot of that stuff in Armature_manual.py & Common.py doesn't even exist & am very confuzzled. that don't even exist in Notepad++. I am using the Blender version "4.1.1", & the latest version of CATS Plugin "0.19.0".

So, i'm guessing this is why this wont work for me very well. Should i just use the version of blender you used & an older version of CATS? ? I'm also on windows 11.