raiseMetarigError("RIGIFY ERROR: Bone '%s': incorrect bone configuration for rig type"%(strip_org(bone)))
raiseMetarigError("RIGIFY ERROR: Bone '%s': incorrect bone configuration for rig type -- leg bones != 2"%(strip_org(bone)))
# Get the foot and heel
foot=None
...
...
@@ -101,9 +101,10 @@ class Rig:
else:
heel=b.name
iffootisNoneorheelisNone:
raiseMetarigError("RIGIFY ERROR: Bone '%s': incorrect bone configuration for rig type"%(strip_org(bone)))
iffootisNone:
raiseMetarigError("RIGIFY ERROR: Bone '%s': incorrect bone configuration for rig type -- could not find foot bone (that is, a bone with >1 children connected) attached to bone '%s'"%(strip_org(bone),strip_org(shin)))
ifheelisNone:
raiseMetarigError("RIGIFY ERROR: Bone '%s': incorrect bone configuration for rig type -- could not find heel bone (that is, a bone with no childrenconnected) attached to bone '%s'"%(strip_org(bone),strip_org(shin)))
# Get the toe
toe=None
forbinself.obj.data.bones[foot].children:
...
...
@@ -111,8 +112,8 @@ class Rig:
toe=b.name
iftoeisNone:
raiseMetarigError("RIGIFY ERROR: Bone '%s': incorrect bone configuration for rig type"%(strip_org(bone)))
raiseMetarigError("RIGIFY ERROR: Bone '%s': incorrect bone configuration for rig type -- toe is None"%(strip_org(bone)))