diff options
author | Bastien Montagne <bastien@blender.org> | 2021-09-23 13:56:05 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2021-09-23 13:56:05 +0300 |
commit | f48a4aa0f9157c1338a190d5d1b907cfc7d3da10 (patch) | |
tree | 8fc39a6de2b1f1caad9f5deff8e76aaa35f847a2 /source/blender/blenloader/BLO_readfile.h | |
parent | cb173d05dc3e17f0407ebdeb7d092344242ea4ad (diff) |
LibLink Append: Expose 'reuse ID' through new BLO flag, and add basic tests.
Option is now available to append operator, alsthough hidden and
disabled by default.
Diffstat (limited to 'source/blender/blenloader/BLO_readfile.h')
-rw-r--r-- | source/blender/blenloader/BLO_readfile.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenloader/BLO_readfile.h b/source/blender/blenloader/BLO_readfile.h index c3a57f17e8b..3f3e61734ec 100644 --- a/source/blender/blenloader/BLO_readfile.h +++ b/source/blender/blenloader/BLO_readfile.h @@ -213,6 +213,8 @@ typedef enum eBLOLibLinkFlags { BLO_LIBLINK_APPEND_SET_FAKEUSER = 1 << 19, /** Append (make local) also indirect dependencies of appendeds IDs. */ BLO_LIBLINK_APPEND_RECURSIVE = 1 << 20, + /** Try to re-use previously appended matching ID on new append. */ + BLO_LIBLINK_APPEND_LOCAL_ID_REUSE = 1 << 21, /** Instantiate object data IDs (i.e. create objects for them if needed). */ BLO_LIBLINK_OBDATA_INSTANCE = 1 << 24, /** Instantiate collections as empties, instead of linking them into current view layer. */ |