Changeset View
Changeset View
Standalone View
Standalone View
source/blender/depsgraph/intern/builder/deg_builder_relations.cc
| Show First 20 Lines • Show All 362 Lines • ▼ Show 20 Lines | DEG_DEBUG_PRINTF((::Depsgraph *)graph_, | ||||
| (timesrc) ? timesrc->identifier().c_str() : "<None>", | (timesrc) ? timesrc->identifier().c_str() : "<None>", | ||||
| node_to, | node_to, | ||||
| (node_to) ? node_to->identifier().c_str() : "<None>", | (node_to) ? node_to->identifier().c_str() : "<None>", | ||||
| description); | description); | ||||
| return nullptr; | return nullptr; | ||||
| } | } | ||||
| void DepsgraphRelationBuilder::add_visibility_relation(ID *id_from, ID *id_to) | |||||
| { | |||||
| ComponentKey from_key(id_from, NodeType::VISIBILITY); | |||||
| ComponentKey to_key(id_to, NodeType::VISIBILITY); | |||||
| add_relation(from_key, to_key, "visibility"); | |||||
| } | |||||
| Relation *DepsgraphRelationBuilder::add_operation_relation(OperationNode *node_from, | Relation *DepsgraphRelationBuilder::add_operation_relation(OperationNode *node_from, | ||||
| OperationNode *node_to, | OperationNode *node_to, | ||||
| const char *description, | const char *description, | ||||
| int flags) | int flags) | ||||
| { | { | ||||
| if (node_from && node_to) { | if (node_from && node_to) { | ||||
| return graph_->add_new_relation(node_from, node_to, description, flags); | return graph_->add_new_relation(node_from, node_to, description, flags); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 2,680 Lines • Show Last 20 Lines | |||||