Rigify: Action Constraint loses animation after regenerating. #105446

Open
opened 2024-08-19 11:04:02 +02:00 by Antônio Froz · 0 comments

System Information
Operating system: Windows-10-10.0.22621-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3070/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 560.81

Blender Version
Broken: version: 4.2.0, branch: blender-v4.2-release, commit date: 2024-07-16 06:20, hash: a51f293548ad
Worked: (newest version of Blender that worked as expected)

Addon Information
Name: Rigify 0.6.10
Author: Nathan Vegdahl, Lucio Rossi, Ivan Cappiello, Alexander Gavrilov

Short description of error

When using 'Bone Constraint: Action', after regenerating the controllers, the keyframes for the control bones are replaced with the ORG bones.

This prevents modifications because:

  1. The original animation that used the control bones is permanently deleted.
  2. The keyframes of control bones are replaced by ORG bones.
  3. ORG bones cannot be manipulated, making it impossible to adjust the Action.

This behavior occurs when using the rig type "basic.super_copy".

Additionally, when using Relink Constraints to link the 'Bone Constraint: Action' to the CTRL bone, the action modifier does not work in any way because the keyframes are still replaced with ORG bones.

Exact steps for others to reproduce the error

Open a clean Blender file.

  1. Create a new Armature.

  2. Create the bone 'Action_Master'.
    2.1 Select the Rig Type: basic.super_copy.
    2.2 Leave the Control and Widget checkboxes selected.

  3. Create the bone 'Simple_deformer'.
    3.1 Select the Rig Type: basic.super_copy.
    3.1.1 Leave the Control, Widget, Deform, and Relink Constraints checkboxes selected.

  4. Create a new animation Action and set up the keyframes:
    Keyframe 0 = all transformations reset.
    Keyframe 9 = apply any modification to the bone.

  5. Add 'Bone Constraint: Action' to the bone 'Simple_Deformer'.
    5.1 Add 'CTRL: ' to the beginning of the constraint's name.
    5.2 Configure the 'Bone Constraint: Action' to be activated when moving the 'Action_Master' bone.

  6. Test if the 'Action_Master' is correctly moving the 'Simple_Deformer' according to the animation.

  7. Generate Rig.

  8. Test if the 'Action_Master' continues to move the 'Simple_Deformer' (This step does not work because, during generation, the animation keyframes were replaced with ORG.)

Suggested change in behavior:
Never replace the keyframes of control bones with ORG bones.

How to use the append file

  1. Open
  2. Movement bone Action_Master
  3. See the bone Simple_Deformer moving
  4. Regenerate the rig (Lose the animation)
  5. Try to move the bone Action_Master again (in both armautres)
  6. Nothings happens to Simple_Deformer bone (in both armatures)
**System Information** Operating system: Windows-10-10.0.22621-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3070/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 560.81 **Blender Version** Broken: version: 4.2.0, branch: blender-v4.2-release, commit date: 2024-07-16 06:20, hash: `a51f293548ad` Worked: (newest version of Blender that worked as expected) **Addon Information** Name: Rigify 0.6.10 Author: Nathan Vegdahl, Lucio Rossi, Ivan Cappiello, Alexander Gavrilov **Short description of error** When using 'Bone Constraint: Action', after regenerating the controllers, the keyframes for the control bones are replaced with the ORG bones. This prevents modifications because: 1. The original animation that used the control bones is permanently deleted. 2. The keyframes of control bones are replaced by ORG bones. 3. ORG bones cannot be manipulated, making it impossible to adjust the Action. This behavior occurs when using the rig type "basic.super_copy". Additionally, when using Relink Constraints to link the 'Bone Constraint: Action' to the CTRL bone, the action modifier does not work in any way because the keyframes are still replaced with ORG bones. **Exact steps for others to reproduce the error** Open a clean Blender file. 1. Create a new Armature. 2. Create the bone 'Action_Master'. 2.1 Select the Rig Type: basic.super_copy. 2.2 Leave the Control and Widget checkboxes selected. 3. Create the bone 'Simple_deformer'. 3.1 Select the Rig Type: basic.super_copy. 3.1.1 Leave the Control, Widget, Deform, and Relink Constraints checkboxes selected. 4. Create a new animation Action and set up the keyframes: Keyframe 0 = all transformations reset. Keyframe 9 = apply any modification to the bone. 5. Add 'Bone Constraint: Action' to the bone 'Simple_Deformer'. 5.1 Add 'CTRL: ' to the beginning of the constraint's name. 5.2 Configure the 'Bone Constraint: Action' to be activated when moving the 'Action_Master' bone. 6. Test if the 'Action_Master' is correctly moving the 'Simple_Deformer' according to the animation. 7. Generate Rig. 8. Test if the 'Action_Master' continues to move the 'Simple_Deformer' **(This step does not work because, during generation, the animation keyframes were replaced with ORG.)** **Suggested change in behavior: Never replace the keyframes of control bones with ORG bones.** **How to use the append file** 1. Open 2. Movement bone Action_Master 3. See the bone Simple_Deformer moving 4. Regenerate the rig (Lose the animation) 5. Try to move the bone Action_Master again (in both armautres) 6. Nothings happens to Simple_Deformer bone (in both armatures)
Antônio Froz added the
Priority
Normal
Status
Needs Triage
Type
Report
labels 2024-08-19 11:04:03 +02:00
Antônio Froz changed title from Action Constraint loses animation after regenerating. to Rigify: Action Constraint loses animation after regenerating. 2024-08-19 11:09:19 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#105446
No description provided.