when i move edit bones to a new armature layer via python script the armature layers gui does not show the expected icon:

enter image description here

Does anybody know how to make the gui respect my changes? I would expect a small white dot to appear in all layers that contain bones.

I am changing layers like this:

obj.data.edit_bones.active.layers[10] = True

Thanks a lot!

  • $\begingroup$ Probably should do it in object mode and use something like this arm.data.bones[0].layers[5] = True $\endgroup$ – lemon Sep 24 '19 at 15:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.