Blender V5.0
LibraryWeakReference Struct Reference

#include <DNA_ID.h>

Public Attributes

char library_filepath [1024]
char library_id_name [258]
char _pad [2]

Detailed Description

A weak library/ID reference for local data that has been appended, to allow re-using that local data instead of creating a new copy of it in future appends.

NOTE: This is by design a week reference, in other words code should be totally fine and perform a regular append if it cannot find a valid matching local ID.

NOTE: There should always be only one single ID in current Main matching a given linked reference.

Definition at line 606 of file DNA_ID.h.

Member Data Documentation

◆ _pad

char LibraryWeakReference::_pad[2]

Definition at line 613 of file DNA_ID.h.

◆ library_filepath

char LibraryWeakReference::library_filepath[1024]

◆ library_id_name

char LibraryWeakReference::library_id_name[258]

May be different from the current local ID name.

Definition at line 611 of file DNA_ID.h.

Referenced by BKE_main_library_weak_reference_add(), BKE_main_library_weak_reference_create(), and BKE_main_library_weak_reference_update_item().


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