From 3a9a37d6dccb0a981b1fad0cda977b4a445341a1 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Mon, 14 Feb 2022 12:05:11 +0100 Subject: Fix T95601: Missing handling of keyingsets ID pointers in lib_query/foreach_id code. This will have to be backported to 2.93 and possibly 2.83 if possible. --- source/blender/blenkernel/BKE_animsys.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender/blenkernel/BKE_animsys.h') diff --git a/source/blender/blenkernel/BKE_animsys.h b/source/blender/blenkernel/BKE_animsys.h index 4845807de39..77e0de611d3 100644 --- a/source/blender/blenkernel/BKE_animsys.h +++ b/source/blender/blenkernel/BKE_animsys.h @@ -39,6 +39,7 @@ struct FCurve; struct ID; struct KS_Path; struct KeyingSet; +struct LibraryForeachIDData; struct ListBase; struct Main; struct NlaKeyframingContext; @@ -102,6 +103,9 @@ struct KS_Path *BKE_keyingset_find_path(struct KeyingSet *ks, /* Copy all KeyingSets in the given list */ void BKE_keyingsets_copy(struct ListBase *newlist, const struct ListBase *list); +/** Process the ID pointers inside a scene's keyingsets, in see `BKE_lib_query.h` for details. */ +void BKE_keyingsets_foreach_id(struct LibraryForeachIDData *data, const struct ListBase *keyingsets); + /* Free the given Keying Set path */ void BKE_keyingset_free_path(struct KeyingSet *ks, struct KS_Path *ksp); -- cgit v1.2.3