autorigging front end, access in pose mode armature panel (at the bottom)
[blender.git] / release / scripts / modules / rigify / leg_biped_generic.py
index 7cb71009596e2e7b00c2a8b3ab1732d84f4b7e9d..745ee49cbfe34ebb9e9cdae7bc35ecbcb833c71d 100644 (file)
@@ -367,8 +367,8 @@ def fk(obj, bone_definition, base_names, options):
 
 
 def main(obj, bone_definition, base_names, options):
-    bones_ik = ik(obj, bone_definition, base_names, options)
     bones_fk = fk(obj, bone_definition, base_names, options)
+    bones_ik = ik(obj, bone_definition, base_names, options)
 
     bpy.ops.object.mode_set(mode='OBJECT')
-    blend_bone_list(obj, bone_definition, bones_ik, bones_fk, target_bone=bone_definition[1], blend_default=0.0)
+    blend_bone_list(obj, bone_definition, bones_fk, bones_ik, target_bone=bones_ik[1], blend_default=0.0)