Blender Git Commit Log

Git Commits -> Revision d083cc1

August 16, 2021, 04:19 (GMT)
Fix T88498: 'Clear Parent' does not clear parent_bone

Clearing the parent from the UI using the X (or from python) clears the
`parsubstr` and set `partype` back to `PAROBJECT`.

Using the Clear Parent operator would leave the `parsubstr` (and thus
`parent_bone`) untouched even though this operator claims to "clear
parenting relationship completely" (it also removes parent deform
modifiers for example).

So now, also clear `parsubstr` and set back to `PAROBJECT` [which is
default].

Maniphest Tasks: T88498

Differential Revision: https://developer.blender.org/D11503

Commit Details:

Full Hash: d083cc1d63d090241c20ffd98697686441990086
Parent Commit: 6ba45fe
Committed By: YimingWu
Lines Changed: +2, -0

1 Modified Path:

/source/blender/editors/object/object_relations.c (+2, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021