Blender V5.3
blender::BlendfileLinkAppendContextItem Struct Reference

#include <BKE_blendfile_link_append.hh>

Public Attributes

BlendfileLinkAppendContext * lapp_context
std::string name
BitVector libraries
short idcode
char action
char tag
ID * new_id
Library * source_library
ID * liboverride_id
ID * reusable_local_id
void * userdata

Detailed Description

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

Definition at line 74 of file BKE_blendfile_link_append.hh.

Member Data Documentation

◆ action

◆ idcode

short blender::BlendfileLinkAppendContextItem::idcode

◆ lapp_context

BlendfileLinkAppendContext* blender::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 79 of file BKE_blendfile_link_append.hh.

Referenced by blender::BKE_blendfile_link_append_context_item_add().

◆ liboverride_id

ID* blender::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 106 of file BKE_blendfile_link_append.hh.

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

◆ libraries

BitVector blender::BlendfileLinkAppendContextItem::libraries

◆ name

std::string blender::BlendfileLinkAppendContextItem::name

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

Definition at line 82 of file BKE_blendfile_link_append.hh.

Referenced by blender::BKE_blendfile_link(), and blender::BKE_blendfile_link_append_context_item_add().

◆ new_id

◆ reusable_local_id

ID* blender::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 112 of file BKE_blendfile_link_append.hh.

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

◆ source_library

Library* blender::BlendfileLinkAppendContextItem::source_library

◆ tag

◆ userdata


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