Skip to content

Commit c46a04f

Browse files
committed
dagmenu: fix head space transfer #501
1 parent 875208d commit c46a04f

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

release/scripts/mgear/core/dagmenu.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ def __switch_parent_callback(*args):
419419
"""
420420

421421
# creates a map for non logical components controls
422-
control_map = {"elbow": ["mid"], "rot":[ "orbit"], "knee": ["mid"], "ik": ["headIK"]}
422+
control_map = {"elbow": ["mid"], "rot":[ "orbit"], "knee": ["mid"], "ik": ["headIK"],"head": ["headFree"]}
423423

424424
# switch_control = args[0].split("|")[-1].split(":")[-1]
425425
switch_control = args[0].split("|")[-1]
@@ -540,7 +540,8 @@ def __space_transfer_callback(*args):
540540
"""
541541

542542
# creates a map for non logical components controls
543-
control_map = {"elbow": ["mid"], "rot": ["orbit", "fk0"], "knee": ["mid"]}
543+
control_map = {"elbow": ["mid"], "rot": ["orbit", "fk0"], "knee": ["mid"],
544+
"ik": ["headIK"], "head": ["headFree"]}
544545

545546
# switch_control = args[0].split("|")[-1].split(":")[-1]
546547
switch_control = args[0].split("|")[-1]

0 commit comments

Comments
 (0)