Blender V4.3
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

char BlendfileLinkAppendContextItem::action

◆ idcode

short BlendfileLinkAppendContextItem::idcode

◆ lapp_context

BlendfileLinkAppendContext* BlendfileLinkAppendContextItem::lapp_context

◆ 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 93 of file BKE_blendfile_link_append.hh.

Referenced by BKE_blendfile_link_append_context_item_liboverrideid_get(), and BKE_blendfile_link_append_context_item_newid_set().

◆ 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_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 99 of file BKE_blendfile_link_append.hh.

Referenced by 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 90 of file BKE_blendfile_link_append.hh.

Referenced by foreach_libblock_append_add_dependencies_callback(), and foreach_libblock_link_finalize_cb().

◆ tag

◆ userdata

void* BlendfileLinkAppendContextItem::userdata

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