Skip to content
Snippets Groups Projects
Commit 963a9847 authored by Alexander Gavrilov's avatar Alexander Gavrilov
Browse files

Rigify: fix crash with short front/rear paws after split toe.

parent 36316516
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,7 @@ class Rig(pawRig):
ik_chain, tail_chain, fk_chain = super().get_ik_fk_position_chains()
assert not tail_chain
if not self.use_heel2:
return [*ik_chain, ik_chain[-1]], [*fk_chain, fk_chain[-1]]
return [*ik_chain, ik_chain[-1]], [], [*fk_chain, fk_chain[-1]]
return ik_chain, tail_chain, fk_chain
def get_extra_ik_controls(self):
......
......@@ -58,7 +58,7 @@ class Rig(pawRig):
ik_chain, tail_chain, fk_chain = super().get_ik_fk_position_chains()
assert not tail_chain
if not self.use_heel2:
return [*ik_chain, ik_chain[-1]], [*fk_chain, fk_chain[-1]]
return [*ik_chain, ik_chain[-1]], [], [*fk_chain, fk_chain[-1]]
return ik_chain, tail_chain, fk_chain
def get_extra_ik_controls(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment