Blender  V3.3
Public Attributes | List of all members
LibraryWeakReference Struct Reference

#include <DNA_ID.h>

Public Attributes

char library_filepath [1024]
 
char library_id_name [66]
 
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 505 of file DNA_ID.h.

Member Data Documentation

◆ _pad

char LibraryWeakReference::_pad[2]

Definition at line 512 of file DNA_ID.h.

◆ library_filepath

char LibraryWeakReference::library_filepath[1024]

◆ library_id_name

char LibraryWeakReference::library_id_name[66]

MAX_ID_NAME. May be different from the current local ID name.

Definition at line 510 of file DNA_ID.h.

Referenced by BKE_main_library_weak_reference_add_item(), 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: