From a816eaa1ce69924e392b6208d64ffad5d71482c1 Mon Sep 17 00:00:00 2001 From: Jeroen Bakker Date: Fri, 11 Feb 2022 12:38:28 +0100 Subject: Cleanup: add descriptions to the IDRemapperApplyOptions. --- source/blender/blenkernel/BKE_lib_remap.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'source/blender/blenkernel/BKE_lib_remap.h') diff --git a/source/blender/blenkernel/BKE_lib_remap.h b/source/blender/blenkernel/BKE_lib_remap.h index 0769374c9a8..5fa524e3fc6 100644 --- a/source/blender/blenkernel/BKE_lib_remap.h +++ b/source/blender/blenkernel/BKE_lib_remap.h @@ -159,7 +159,17 @@ typedef enum IDRemapperApplyResult { } IDRemapperApplyResult; typedef enum IDRemapperApplyOptions { + /** + * Update the user count of the old and new ID datablock. + * + * For remapping the old ID users will be decremented and the new ID users will be + * incremented. When un-assigning the old ID users will be decremented. + */ ID_REMAP_APPLY_UPDATE_REFCOUNT = (1 << 0), + + /** + * Make sure that the new ID datablock will have a 'real' user. + */ ID_REMAP_APPLY_ENSURE_REAL = (1 << 1), ID_REMAP_APPLY_DEFAULT = 0, -- cgit v1.2.3