diff options
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/BKE_lib_remap.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_lib_remap.h b/source/blender/blenkernel/BKE_lib_remap.h index b66d53b2321..57afbefd508 100644 --- a/source/blender/blenkernel/BKE_lib_remap.h +++ b/source/blender/blenkernel/BKE_lib_remap.h @@ -182,11 +182,18 @@ typedef enum IDRemapperApplyOptions { * * 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. + * + * NOTE: Currently unused by main remapping code, since usercount is handled by + * `foreach_libblock_remap_callback_apply` there, depending on whether the remapped pointer does + * use it or not. Need for rare cases in UI handling though (see e.g. `image_id_remap` in + * `space_image.c`). */ ID_REMAP_APPLY_UPDATE_REFCOUNT = (1 << 0), /** * Make sure that the new ID datablock will have a 'real' user. + * + * NOTE: See Note for #ID_REMAP_APPLY_UPDATE_REFCOUNT above. */ ID_REMAP_APPLY_ENSURE_REAL = (1 << 1), |