Blender V5.0
BlendfileLinkAppendContextItem Struct Reference

#include <BKE_blendfile_link_append.hh>

Public Attributes

BlendfileLinkAppendContextlapp_context
std::string name
blender::BitVector libraries
short idcode
char action
char tag
IDnew_id
Librarysource_library
IDliboverride_id
IDreusable_local_id
void * userdata

Detailed Description

A data-block (ID) entry in the items list from BlendfileLinkAppendContext.

Definition at line 67 of file BKE_blendfile_link_append.hh.

Member Data Documentation

◆ action

◆ idcode

short BlendfileLinkAppendContextItem::idcode

◆ lapp_context

BlendfileLinkAppendContext* BlendfileLinkAppendContextItem::lapp_context

Link/Append context owner of this item. Used in RNA API, could be removed once RNA paths are functional.

Definition at line 72 of file BKE_blendfile_link_append.hh.

Referenced by BKE_blendfile_link_append_context_item_add().

◆ liboverride_id

ID* BlendfileLinkAppendContextItem::liboverride_id

Liboverride of the linked ID (nullptr until it has been successfully created or an existing one has been found).

Definition at line 99 of file BKE_blendfile_link_append.hh.

Referenced by BKE_blendfile_link_append_context_item_liboverrideid_get(), BKE_blendfile_link_append_context_item_newid_set(), and BKE_blendfile_override().

◆ libraries

◆ name

std::string BlendfileLinkAppendContextItem::name

Name of the ID (without the heading two-chars IDcode).

Definition at line 75 of file BKE_blendfile_link_append.hh.

Referenced by BKE_blendfile_link(), and BKE_blendfile_link_append_context_item_add().

◆ new_id

◆ reusable_local_id

ID* BlendfileLinkAppendContextItem::reusable_local_id

Whether the item has a matching local ID that was already appended from the same source before, and has not been modified. In 'Append & Reuse' case, this local ID may be reused instead of making linked data local again.

Definition at line 105 of file BKE_blendfile_link_append.hh.

Referenced by BKE_blendfile_append(), blendfile_append_define_actions(), and foreach_libblock_append_ensure_reusable_local_id_callback().

◆ source_library

Library* BlendfileLinkAppendContextItem::source_library

Library ID from which the new_id has been linked (nullptr until it has been successfully linked).

Definition at line 94 of file BKE_blendfile_link_append.hh.

Referenced by BKE_blendfile_link(), BKE_blendfile_link_pack(), foreach_libblock_append_add_dependencies_callback(), and foreach_libblock_link_finalize_cb().

◆ tag

◆ userdata


The documentation for this struct was generated from the following file: