Range Switch doesn't work for switching FK to IK overtime (it worked for IK to FK)
Limb switched to IK mode and bind joints stay not moved.
select -cl ;
select -r arm_L0_fk2_ctl ;
Not found node:arm_L0_roll_mth
Can't find object : arm_L0_roll_mth
select -r arm_L0_ik_ctl ;
select -r arm_L0_fk2_ctl ;
Not found node::arm_L0_roll_mth
Can't find object : arm_L0_roll_mth
# Traceback (most recent call last):
# File "/usr/local/apps/mgear/local/maya-2025/scripts/mgear/core/anim_utils.py", line 2279, in doItByUI
# self.transfer(startFrame, endFrame, onlyKeyframes, self.hasIkRot)
# File "/usr/local/apps/mgear/local/maya-2025/scripts/mgear/core/anim_utils.py", line 2254, in transfer
# self.bakeAnimation(
# File "/usr/local/apps/mgear/local/maya-2025/scripts/mgear/core/utils.py", line 236, in wrap
# raise e
# File "/usr/local/apps/mgear/local/maya-2025/scripts/mgear/core/utils.py", line 233, in wrap
# return func(*args, **kwargs)
# ^^^^^^^^^^^^^^^^^^^^^
# File "/usr/local/apps/mgear/local/maya-2025/scripts/mgear/core/utils.py", line 205, in wrap
# raise e
# File "/usr/local/apps/mgear/local/maya-2025/scripts/mgear/core/utils.py", line 202, in wrap
# return func(*args, **kwargs)
# ^^^^^^^^^^^^^^^^^^^^^
# File "/usr/local/apps/mgear/local/maya-2025/scripts/mgear/core/anim_utils.py", line 1910, in bakeAnimation
# worldMatrixList = self.getWorldMatrices(
# ^^^^^^^^^^^^^^^^^^^^^^
# File "/usr/local/apps/mgear/local/maya-2025/scripts/mgear/core/anim_utils.py", line 1820, in getWorldMatrices
# tmp.append(pm.getAttr(n + ".worldMatrix", time=x))
# ~~^~~~~~~~~~~~~~~~
# TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
Not found node::arm_L0_roll_mth
Can't find object : arm_L0_roll_mth
Not found node::arm_L0_roll_mth
Can't find object : arm_L0_roll_mth
🐞 Bug Report
Description
Range Switch doesn't work for switching FK to IK overtime (it worked for IK to FK)
Steps to Reproduce
Expected Behavior
Limb switched to IK mode and bind joints stay not moved.
Actual Behavior
If using regular Biped Template Y-up, switching FK to IK will not match
If using any game templates, error will raise when
Maya Version
mGear Version
Error Log Formatting