Blender Git Loki

Git Commits -> Revision dc8844f

Revision dc8844f by Philipp Oeser (master)
August 12, 2021, 14:33 (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: dc8844f8ef6a5cfa2be1035162d39e6d83c83d7c
Parent Commit: d6891d9
Lines Changed: +2, -0

1 Modified Path:

/source/blender/editors/object/object_relations.c (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021