diff options
author | Jeroen Bakker <jeroen@blender.org> | 2022-02-11 14:38:28 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2022-02-11 14:54:49 +0300 |
commit | a816eaa1ce69924e392b6208d64ffad5d71482c1 (patch) | |
tree | 5958dab9a9f9bd13447f1ade0f57d79091f21ea6 /source/blender/blenkernel/BKE_lib_remap.h | |
parent | 2d231f837a48933c0e819cdc6e78d977152bdd69 (diff) |
Cleanup: add descriptions to the IDRemapperApplyOptions.
Diffstat (limited to 'source/blender/blenkernel/BKE_lib_remap.h')
-rw-r--r-- | source/blender/blenkernel/BKE_lib_remap.h | 10 |
1 files changed, 10 insertions, 0 deletions
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, |