Blender V5.3
blender::LibOverrideGroupTagData Struct Reference

Public Member Functions

ID * root_get ()
void root_set (ID *id_root)
ID * hierarchy_root_get ()
void hierarchy_root_set (ID *hierarchy_root_id)
bool id_tag_set (ID *id, const bool is_missing)
bool id_tag_clear (ID *id, const bool is_missing)
void clear ()

Public Attributes

Main * bmain
Scene * scene
ID * id_root_reference
ID * hierarchy_root_id_reference
ID * id_root_override
ID * hierarchy_root_id_override
bool is_override
bool is_resync
uint tag
uint missing_tag
Set< ID * > linked_ids_hierarchy_default_override
bool do_create_linked_overrides_set
Map< Object *, LinkNodePair * > linked_object_to_instantiating_collections
MemArena * mem_arena

Detailed Description

Definition at line 763 of file lib_override.cc.

Member Function Documentation

◆ clear()

◆ hierarchy_root_get()

ID * blender::LibOverrideGroupTagData::hierarchy_root_get ( )
inline

◆ hierarchy_root_set()

void blender::LibOverrideGroupTagData::hierarchy_root_set ( ID * hierarchy_root_id)
inline

◆ id_tag_clear()

bool blender::LibOverrideGroupTagData::id_tag_clear ( ID * id,
const bool is_missing )
inline

◆ id_tag_set()

bool blender::LibOverrideGroupTagData::id_tag_set ( ID * id,
const bool is_missing )
inline

Helpers to mark or unmark an ID as part of the processed (reference of) liboverride hierarchy.

Returns
true if the given ID is tagged as missing linked data, false otherwise.

Definition at line 833 of file lib_override.cc.

References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), do_create_linked_overrides_set, linked_ids_hierarchy_default_override, missing_tag, and tag.

◆ root_get()

ID * blender::LibOverrideGroupTagData::root_get ( )
inline

Definition at line 783 of file lib_override.cc.

References id_root_override, id_root_reference, and is_override.

◆ root_set()

void blender::LibOverrideGroupTagData::root_set ( ID * id_root)
inline

Definition at line 787 of file lib_override.cc.

References id_root_override, id_root_reference, and is_override.

Member Data Documentation

◆ bmain

Main* blender::LibOverrideGroupTagData::bmain

Definition at line 764 of file lib_override.cc.

Referenced by clear().

◆ do_create_linked_overrides_set

bool blender::LibOverrideGroupTagData::do_create_linked_overrides_set

Definition at line 825 of file lib_override.cc.

Referenced by id_tag_clear(), and id_tag_set().

◆ hierarchy_root_id_override

ID* blender::LibOverrideGroupTagData::hierarchy_root_id_override

Definition at line 773 of file lib_override.cc.

Referenced by clear(), hierarchy_root_get(), and hierarchy_root_set().

◆ hierarchy_root_id_reference

ID* blender::LibOverrideGroupTagData::hierarchy_root_id_reference

Definition at line 769 of file lib_override.cc.

Referenced by clear(), hierarchy_root_get(), and hierarchy_root_set().

◆ id_root_override

ID* blender::LibOverrideGroupTagData::id_root_override

The existing liboverrides, if any.

Definition at line 772 of file lib_override.cc.

Referenced by clear(), root_get(), and root_set().

◆ id_root_reference

ID* blender::LibOverrideGroupTagData::id_root_reference

The linked data used as reference for the liboverrides.

Definition at line 768 of file lib_override.cc.

Referenced by clear(), root_get(), and root_set().

◆ is_override

bool blender::LibOverrideGroupTagData::is_override

Whether we are looping on override data, or their references (linked) one.

IMPORTANT: This value controls which of the reference/override ID pointers are accessed by the root/hierarchy_root accessor functions below.

Definition at line 781 of file lib_override.cc.

Referenced by clear(), hierarchy_root_get(), hierarchy_root_set(), root_get(), and root_set().

◆ is_resync

bool blender::LibOverrideGroupTagData::is_resync

Whether we are creating new override, or resyncing existing one.

Definition at line 811 of file lib_override.cc.

Referenced by clear().

◆ linked_ids_hierarchy_default_override

Set<ID *> blender::LibOverrideGroupTagData::linked_ids_hierarchy_default_override

A set of all IDs belonging to the reference linked hierarchy that is being overridden.

NOTE: This is needed only for partial resync, when only part of the liboverridden hierarchy is re-generated, since some IDs in that sub-hierarchy may not be detected as needing to be overridden, while they would when considering the whole hierarchy.

Definition at line 824 of file lib_override.cc.

Referenced by clear(), id_tag_clear(), and id_tag_set().

◆ linked_object_to_instantiating_collections

Map<Object *, LinkNodePair *> blender::LibOverrideGroupTagData::linked_object_to_instantiating_collections

Definition at line 862 of file lib_override.cc.

Referenced by clear().

◆ mem_arena

MemArena* blender::LibOverrideGroupTagData::mem_arena

Definition at line 863 of file lib_override.cc.

Referenced by clear().

◆ missing_tag

uint blender::LibOverrideGroupTagData::missing_tag

Definition at line 815 of file lib_override.cc.

Referenced by clear(), id_tag_clear(), and id_tag_set().

◆ scene

Scene* blender::LibOverrideGroupTagData::scene

Definition at line 765 of file lib_override.cc.

Referenced by clear().

◆ tag

uint blender::LibOverrideGroupTagData::tag

ID tag to use for IDs detected as being part of the liboverride hierarchy.

Definition at line 814 of file lib_override.cc.

Referenced by clear(), id_tag_clear(), and id_tag_set().


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