Rigify new spines.super_head won't generate if sample is one bone only #75285

Closed
opened 2020-04-01 18:09:29 +02:00 by Ivan Cappiello · 4 comments
Member

Blender Version
Broken:
2.82a release

Short description of error
Rigify new spines.super_head won't generate if sample is one bone only

Exact steps for others to reproduce the error

  1. add a single bone and assign rigify spines.super_head property in pose mode bone properties panel.
  2. generate rig

This sample should work as replacement for neck part of the spines.super_spine rigify sample but fails if only one bone is present in the chain.

in spines.super_spine it used to work assuming last bone of the chain will always be head. So basing on this assumption the generate would act like this based on if cases:

if chain is 1 bone, only head system will be created ignoring neck (head position == neck position)

if chain is 2 bones will be considered 1 neck + 1 head bone (head position = neck position +1)

if chain is 3 bones will be considered 2 neck +1 head bone

if chain is more than 3 bones will be considered (n) animal ik neck + head bone

seems the first condition is ignored by new sample.
This sample was indeed used for some animals like fishes and snakes where you only need an head system attached to the spine/tail.

**Blender Version** Broken: 2.82a release **Short description of error** Rigify new spines.super_head won't generate if sample is one bone only **Exact steps for others to reproduce the error** 1. add a single bone and assign rigify **spines.super_head** property in pose mode bone properties panel. 2. generate rig This sample should work as replacement for neck part of the **spines.super_spine** rigify sample but fails if only one bone is present in the chain. in spines.super_spine it used to work assuming last bone of the chain will always be head. So basing on this assumption the generate would act like this based on if cases: if chain is 1 bone, only head system will be created ignoring neck (head position == neck position) if chain is 2 bones will be considered 1 neck + 1 head bone (head position = neck position +1) if chain is 3 bones will be considered 2 neck +1 head bone if chain is more than 3 bones will be considered (n) animal ik neck + head bone seems the first condition is ignored by new sample. This sample was indeed used for some animals like fishes and snakes where you only need an head system attached to the spine/tail.
Author
Member

Added subscriber: @icappiello

Added subscriber: @icappiello
Alexander Gavrilov was assigned by Ivan Cappiello 2020-04-01 18:10:03 +02:00
Author
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

This issue was referenced by 968da083b8

This issue was referenced by 968da083b882d51dc1daa803c8e2a3e9a25ea8ad

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Sign in to join this conversation.
No Milestone
No project
3 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#75285
No description provided.