Page MenuHome

Fix T88498: 'Clear Parent' does not clear parent_bone
ClosedPublic

Authored by Philipp Oeser (lichtwerk) on Jun 4 2021, 4:39 PM.

Details

Summary

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].

Diff Detail

Repository
rB Blender
Branch
T88498 (branched from master)
Build Status
Buildable 14972
Build 14972: arc lint + arc unit