Need help with rigging leg of animal I've tried moving the bones around and weight painting, but no matter what I cannot get this dog leg to shape right. I don't understand what's wrong. Could somebody please look at the blend file and tell me how it could be fixed?
File:
https://blend-exchange.giantcowfilms.com/b/Exeq9Lbv
For some reason (bad weight painting?) the parenting is bad but, if you redo it, it will work fine.
First delete the bones on the hidden layer so that they are not taken into account:

Also, deactivate the Deform option for the controller bones:

Then parent With Automatic Weight again and it should work fine: