diff options
author | Bastien Montagne <bastien@blender.org> | 2021-11-30 19:52:58 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2021-12-02 13:10:34 +0300 |
commit | 9f290467ca3a8517b13d81031099744d86f3ae21 (patch) | |
tree | 9dfdda10b6ac48e4db7a3b27baa299a09e222f5b /source/blender/blenloader/BLO_readfile.h | |
parent | 4fe8c62b56d738163902e9f38565a1891abc5a36 (diff) |
Blendread: Remove all instantiation logic from `BLO_library_link_` code.
Instantiation is now fully handled by BKE_blendfile_link_append module.
Note that this also allows removal of the `BLO_LIBLINK_NEEDS_ID_TAG_DOIT`
flag.
Part of T91414: Unify link/append between WM operators and BPY context
manager API, and cleanup usages of `BKE_library_make_local`.
Diffstat (limited to 'source/blender/blenloader/BLO_readfile.h')
-rw-r--r-- | source/blender/blenloader/BLO_readfile.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/source/blender/blenloader/BLO_readfile.h b/source/blender/blenloader/BLO_readfile.h index 7d6d471adc3..70006bb6d23 100644 --- a/source/blender/blenloader/BLO_readfile.h +++ b/source/blender/blenloader/BLO_readfile.h @@ -212,14 +212,6 @@ typedef enum eBLOLibLinkFlags { BLO_LIBLINK_USE_PLACEHOLDERS = 1 << 16, /** Force loaded ID to be tagged as #LIB_TAG_INDIRECT (used in reload context only). */ BLO_LIBLINK_FORCE_INDIRECT = 1 << 17, - /** - * When set, tag ID types that pass the internal check #library_link_idcode_needs_tag_check - * - * Currently this is only used to instantiate objects in the scene. - * Set this from #BLO_library_link_params_init_with_context so callers - * don't need to remember to set this flag. - */ - BLO_LIBLINK_NEEDS_ID_TAG_DOIT = 1 << 18, /** Set fake user on appended IDs. */ BLO_LIBLINK_APPEND_SET_FAKEUSER = 1 << 19, /** Append (make local) also indirect dependencies of appended IDs coming from other libraries. @@ -335,14 +327,6 @@ void BLO_sanitize_experimental_features_userpref_blend(struct UserDef *userdef); struct BlendThumbnail *BLO_thumbnail_from_file(const char *filepath); -void BLO_object_instantiate_object_base_instance_init(struct Main *bmain, - struct Collection *collection, - struct Object *ob, - struct ViewLayer *view_layer, - const struct View3D *v3d, - const int flag, - bool set_active); - /* datafiles (generated theme) */ extern const struct bTheme U_theme_default; extern const struct UserDef U_default; |