Changeset View
Changeset View
Standalone View
Standalone View
source/blender/depsgraph/intern/node/deg_node_id.cc
| Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | const char *linkedStateAsString(eDepsNode_LinkedState_Type linked_state) | ||||
| switch (linked_state) { | switch (linked_state) { | ||||
| case DEG_ID_LINKED_INDIRECTLY: | case DEG_ID_LINKED_INDIRECTLY: | ||||
| return "INDIRECTLY"; | return "INDIRECTLY"; | ||||
| case DEG_ID_LINKED_VIA_SET: | case DEG_ID_LINKED_VIA_SET: | ||||
| return "VIA_SET"; | return "VIA_SET"; | ||||
| case DEG_ID_LINKED_DIRECTLY: | case DEG_ID_LINKED_DIRECTLY: | ||||
| return "DIRECTLY"; | return "DIRECTLY"; | ||||
| } | } | ||||
| BLI_assert(!"Unhandled linked state, should never happen."); | BLI_assert_msg(0, "Unhandled linked state, should never happen."); | ||||
| return "UNKNOWN"; | return "UNKNOWN"; | ||||
| } | } | ||||
| IDNode::ComponentIDKey::ComponentIDKey(NodeType type, const char *name) : type(type), name(name) | IDNode::ComponentIDKey::ComponentIDKey(NodeType type, const char *name) : type(type), name(name) | ||||
| { | { | ||||
| } | } | ||||
| bool IDNode::ComponentIDKey::operator==(const ComponentIDKey &other) const | bool IDNode::ComponentIDKey::operator==(const ComponentIDKey &other) const | ||||
| ▲ Show 20 Lines • Show All 153 Lines • Show Last 20 Lines | |||||