Page MenuHome
Paste P1996

T85981_untag_parent_as_well
ActivePublic

Authored by Philipp Oeser (lichtwerk) on Feb 26 2021, 11:36 AM.
diff --git a/source/blender/blenkernel/intern/lib_override.c b/source/blender/blenkernel/intern/lib_override.c
index 602c560cedd..79824ec6c8e 100644
--- a/source/blender/blenkernel/intern/lib_override.c
+++ b/source/blender/blenkernel/intern/lib_override.c
@@ -509,6 +509,9 @@ static void lib_override_linked_group_tag(LibOverrideGroupTagData *data)
for (bPoseChannel *pchan = ob->pose->chanbase.first; pchan != NULL; pchan = pchan->next) {
if (pchan->custom != NULL) {
pchan->custom->id.tag &= ~(data->tag | data->missing_tag);
+ /* Also untag the parent? (but that might have its own justification to be tagged). */
+ Object *ob_custom = (Object *)&pchan->custom->id;
+ ob_custom->parent->id.tag &= ~(data->tag | data->missing_tag);
}
}
}