diff options
author | Bastien Montagne <bastien@blender.org> | 2020-04-22 17:01:17 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2020-04-22 17:01:17 +0300 |
commit | 912ac457a68ff9ee919a5ff67acc9a11a78b368e (patch) | |
tree | 37f4c8d55418e0149f03157278bb4c6f29bcd313 /source | |
parent | 6a1056c6a8dbd0fecbf7f44b28717d0240e69024 (diff) | |
parent | 9000ec301337178595ee3230775bd00b1746c06e (diff) |
Merge branch 'blender-v2.83-release'
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/BKE_lib_query.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/source/blender/blenkernel/BKE_lib_query.h b/source/blender/blenkernel/BKE_lib_query.h index f3e15529f77..3aa27bf557c 100644 --- a/source/blender/blenkernel/BKE_lib_query.h +++ b/source/blender/blenkernel/BKE_lib_query.h @@ -71,11 +71,15 @@ enum { IDWALK_CB_OVERRIDE_LIBRARY_REFERENCE = (1 << 5), /** - * Adjusts #ID.us reference-count. - * \note keep in sync with 'newlibadr_us' use in readfile.c + * This ID usage is fully refcounted. + * Callback is responsible to deal accordingly with #ID.us if needed. */ IDWALK_CB_USER = (1 << 8), - /** Ensure #ID.us is at least 1 on use. */ + /** + * This ID usage is not refcounted, but at least one user should be generated by it (to avoid + * e.g. loosing the used ID on save/reload). + * Callback is responsible to deal accordingly with #ID.us if needed. + */ IDWALK_CB_USER_ONE = (1 << 9), }; |