Copy Attributes copy visual location/rotation problem with Child Of constraint

Not sure if this is the right place to post this problem.

The problem pertains strictly to the “Copy Attributes” addon that comes shipped with Blender.

I’m trying to use the “Copy Visual Location” and “Copy Visual Rotation” functions from the addon to get around a problem in rigging a character.

Normally, copying visual transformation works perfectly fine. But when the bone having the visual transformation applied to has a Child Of constraint, the result is always offset. Demo:

What would be a way around this problem? Help would be much appreciated. Example file attached.

Attachments

CopyAttributesVis.blend (517 KB)