Blender V5.3
blender::IDOverrideLibraryPropertyOperation Struct Reference

#include <DNA_ID.h>

Public Attributes

struct IDOverrideLibraryPropertyOperation * next = nullptr
struct IDOverrideLibraryPropertyOperation * prev = nullptr
eID_OverrideLib_Op operation = {}
eID_OverrideLib_OpFlag flag = {}
eID_OverrideLib_PropTag tag = {}
char _pad0 [2] = {}
char * subitem_reference_name = nullptr
char * subitem_local_name = nullptr
int subitem_reference_index = 0
int subitem_local_index = 0
struct ID * subitem_reference_id = nullptr
struct ID * subitem_local_id = nullptr
char * label = nullptr
char * tooltip = nullptr

Detailed Description

Definition at line 246 of file DNA_ID.h.

Member Data Documentation

◆ _pad0

char blender::IDOverrideLibraryPropertyOperation::_pad0[2] = {}

Definition at line 255 of file DNA_ID.h.

◆ flag

◆ label

char* blender::IDOverrideLibraryPropertyOperation::label = nullptr

A UI-only label to represent that operation.

Typically used for collection items, when the subitem_reference_name/subitem_local_name are not available or not usable from a UI PoV. See e.g. its usage by rna_NodesModifierBake_override_diff for geonodes packed bakes items.

Definition at line 284 of file DNA_ID.h.

Referenced by blender::BKE_id_blend_write(), blender::BKE_lib_override_library_property_operation_ui_info_set(), blender::direct_link_id_override_property(), blender::lib_override_library_property_operation_clear(), and blender::lib_override_library_property_operation_copy().

◆ next

struct IDOverrideLibraryPropertyOperation* blender::IDOverrideLibraryPropertyOperation::next = nullptr

Definition at line 247 of file DNA_ID.h.

◆ operation

◆ prev

struct IDOverrideLibraryPropertyOperation * blender::IDOverrideLibraryPropertyOperation::prev = nullptr

Definition at line 247 of file DNA_ID.h.

◆ subitem_local_id

◆ subitem_local_index

◆ subitem_local_name

◆ subitem_reference_id

struct ID* blender::IDOverrideLibraryPropertyOperation::subitem_reference_id = nullptr

Additional pointer to an ID. Only used and relevant when the related RNA collection stores ID pointers, to help disambiguate cases where several IDs from different libraries have the exact same name.

Definition at line 274 of file DNA_ID.h.

Referenced by blender::BKE_lib_override_debug_print(), blender::BKE_lib_override_library_property_operation_get(), blender::library_foreach_ID_link(), blender::RNA_property_copy(), and blender::rna_property_override_collection_subitem_lookup().

◆ subitem_reference_index

◆ subitem_reference_name

◆ tag

eID_OverrideLib_PropTag blender::IDOverrideLibraryPropertyOperation::tag = {}

Runtime, tags are common to both #IDOverrideProperty and #IDOverridePropertyOperation.

Definition at line 254 of file DNA_ID.h.

Referenced by blender::BKE_lib_override_debug_print(), blender::BKE_lib_override_library_operations_tag(), blender::direct_link_id_override_property(), and blender::RNA_struct_override_matches().

◆ tooltip

char* blender::IDOverrideLibraryPropertyOperation::tooltip = nullptr

A UI-only longer tooltip to represent that operation.

Same as label above, but for usage in tooltips and other longer text representations.

Definition at line 290 of file DNA_ID.h.

Referenced by blender::BKE_id_blend_write(), blender::BKE_lib_override_library_property_operation_ui_info_set(), blender::direct_link_id_override_property(), blender::lib_override_library_property_operation_clear(), and blender::lib_override_library_property_operation_copy().


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