Blender V4.3
blender::ed::space_node::NodeClipboardItemIDInfo Struct Reference

Public Attributes

std::string id_name = ""
 
std::string library_path = ""
 
std::optional< ID * > new_id = {}
 

Detailed Description

Definition at line 30 of file clipboard.cc.

Member Data Documentation

◆ id_name

std::string blender::ed::space_node::NodeClipboardItemIDInfo::id_name = ""

◆ library_path

std::string blender::ed::space_node::NodeClipboardItemIDInfo::library_path = ""

Library filepath of the referenced ID, together with its name it forms a unique identifier.

Note
Library reference is stored as an absolute path. Since the Node clipboard is runtime data, persistent over new blend-files opening, this should guarantee that identical IDs from identical libraries can be matched accordingly, even across several blend-files.

Definition at line 40 of file clipboard.cc.

Referenced by blender::ed::space_node::NodeClipboard::copy_add_node(), and blender::ed::space_node::NodeClipboard::paste_validate_id_references().

◆ new_id

std::optional<ID *> blender::ed::space_node::NodeClipboardItemIDInfo::new_id = {}

The validated ID pointer (may be the same as the original one, or a new one).

Definition at line 43 of file clipboard.cc.

Referenced by blender::ed::space_node::NodeClipboard::paste_update_node_id_references(), and blender::ed::space_node::NodeClipboard::paste_validate_id_references().


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