diff options
author | Bastien Montagne <b.mont29@gmail.com> | 2020-02-18 13:21:34 +0300 |
---|---|---|
committer | Bastien Montagne <b.mont29@gmail.com> | 2020-02-18 13:22:32 +0300 |
commit | d4e38d99b20209b3ddf1488f00a8fbc1a7b785e9 (patch) | |
tree | ba00041029ad571ce392968975ce7fd57a5f5394 /source/blender/blenkernel/BKE_lib_query.h | |
parent | abfdd1c697b5cd276bdd0c5dfda8fd2b48ff24f0 (diff) |
libquery: add optional handling of 'UI' ID pointers.
Handling those through different ways /might/ be needed sometimes, but
in most case this is just a nest of issues, since you can easily forget
to take them into account.
Note that this should be a 'non-functional' change, as this new behavior
is not used anywhere yet.
Diffstat (limited to 'source/blender/blenkernel/BKE_lib_query.h')
-rw-r--r-- | source/blender/blenkernel/BKE_lib_query.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_lib_query.h b/source/blender/blenkernel/BKE_lib_query.h index d47ba2497d4..35c42e62810 100644 --- a/source/blender/blenkernel/BKE_lib_query.h +++ b/source/blender/blenkernel/BKE_lib_query.h @@ -106,7 +106,8 @@ typedef int (*LibraryIDLinkCallback)(LibraryIDLinkCallbackData *cb_data); enum { IDWALK_NOP = 0, IDWALK_READONLY = (1 << 0), - IDWALK_RECURSE = (1 << 1), /* Also implies IDWALK_READONLY. */ + IDWALK_RECURSE = (1 << 1), /* Also implies IDWALK_READONLY. */ + IDWALK_INCLUDE_UI = (1 << 2), /* Include UI pointers (from WM and screens editors). */ IDWALK_NO_INDIRECT_PROXY_DATA_USAGE = (1 << 8), /* Ugly special case :(((( */ }; |