insert visual keyframes isn't working with IK constraint #107239
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 526.98
Broken: version: 3.5.1 Release Candidate, branch: blender-v3.5-release, commit date: 2023-04-05 07:29, hash:
Worked: (newest version of Blender that worked as expected)
Short description of error
adding visual keyframes for bones driven by ik doesnt work.
Exact steps for others to reproduce the error
open blend file
go to frame 40
select all bones
press i and choose to insert keyframes for visual location and rotation
turn off the IK constraint and keyframe it so it remains off on frame 40
The bones don't maintain the visual position.
blender/blender#76791 (for triagers: I don't know how to properly handle triaging or issue merging)
This is a known issue. A workaround is to Bake Action for the current frame w/o removing constraints.
I actually just found that giving the end bone a parent resolves in this case. Possibly also needed to apply the rest pose as visual transform pose...not sure why that is, I thought rest pose was the same as visual transform pose?
Ah you're right. That's weird: I don't know why "Apply Visual Transform To Pose" + "Insert Keyframe Loc/Rot/Scale" works but plain "Insert Keyframe Visual Loc/Rot/Scale" doesn't..
I guess the quick fix is to change the 'insert visual loc/rot/scale' C code, so that it applies visual transform to pose and then inserts a standard keyframe. Particularly as the problem has been around for 3 years judging by the referenced report. This would be a much faster resolution whilst waiting for the whole animation system redesign mentioned by sybren 3 years back?
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?