Character-UI icon indicating copy to clipboard operation
Character-UI copied to clipboard

Rig Layers not show correctly in the generated UIs in Blender 4.0.3

Open hashhashgo opened this issue 2 years ago • 0 comments

The Rig->Layers box cannot show correctly in the generated UIs image

I have solved this problem.

This problem is caused by the line 666 in character_ui.py: ch.data, "layers", index=rig_layer['index'], toggle=True, text=rig_layer['name'])

However, there is no "layers" in ch.data in Blender 4.0.3. Instead, it's ch.data.collections. So, it should be: ch.data.collections[rig_layer['index']], "is_visible", toggle=True, text=rig_layer['name'])

image

It is solved as a result.

hashhashgo avatar Feb 17 '24 08:02 hashhashgo