Rigify Encode MetaRig to Python Relink Constraints issue #84724
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#84724
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: Quadro RTX 3000/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 451.67
Blender Version
Broken: version: 2.91.0, branch: master, commit date: 2020-11-25 08:34, hash:
blender/blender@0f45cab862
Worked: (newest version of Blender that worked as expected)
Addon Information
Name: Rigify (0, 6, 1)
Author: Nathan Vegdahl, Lucio Rossi, Ivan Cappiello, Alexander Gavrilov
Short description of error
Rigify allows you to "Relink constraints" and then you can create a custom constraint and name it etc... a core feature for the MetaRig to expand on the existing rigging.
The Tool Encode MetaRig to Python does store the setting "Relink Constraint" showing that it is on but doesn't store any code to save and reload the constraints that have been created and setup to for relinking. So if you have to delete and rebuild the MetaRig or if you want to save the custom meta rig to build from, all the constraints that are created for relinking get lost.
Exact steps for others to reproduce the error
Create a meta rig, pick the breast bone, turn on relink constraints and in pose mode add a constraint to the bone.
Swtich to edit mode and use the rigify tab to run Encode MetaRig to Python. The setting from Pose mode is saved that Relink is on but none of the constraints are stored.
Added subscriber: @BClark
Added subscriber: @TodorNikolov
Added subscriber: @OmarEmaraDev
Changed status from 'Needs Triage' to: 'Needs User Info'
Shouldn't constraints have special naming to make this work? I don't understand this myself, but the documentation seems to indicate that. See https://docs.blender.org/manual/en/latest/addons/rigging/rigify/rig_types/basic.html#basic-raw-copy.
I think this got fixed. This issue was about how the encode python script saves out the constraints that exist on the meta-rig. I can test it again but it should be working.
Raw copy is different. Relink constraints lets you replace targets with special naming.
Changed status from 'Needs User Info' to: 'Resolved'
Encode MetaRig correctly stores the constraints to the python script.