diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-12-15 19:46:30 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-12-15 19:46:30 +0300 |
commit | da570fcbb4222b5c8ac0c57e1db61daaa77a9f79 (patch) | |
tree | 9f3c5790c75249c50141f807eef80503b1ab7b89 /source/blender/depsgraph/intern/nodes | |
parent | 3d72b941963da38f35ad8f9bc7eefc7ba77c6cd4 (diff) |
Depsgraph: Cleanup, make naming more understandable
Diffstat (limited to 'source/blender/depsgraph/intern/nodes')
-rw-r--r-- | source/blender/depsgraph/intern/nodes/deg_node.cc | 2 | ||||
-rw-r--r-- | source/blender/depsgraph/intern/nodes/deg_node_component.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/depsgraph/intern/nodes/deg_node.cc b/source/blender/depsgraph/intern/nodes/deg_node.cc index a15317586c1..1d4d542e7cc 100644 --- a/source/blender/depsgraph/intern/nodes/deg_node.cc +++ b/source/blender/depsgraph/intern/nodes/deg_node.cc @@ -202,7 +202,7 @@ ComponentDepsNode *IDDepsNode::add_component(eDepsNode_Type type, { ComponentDepsNode *comp_node = find_component(type, name); if (!comp_node) { - DepsNodeFactory *factory = deg_get_node_factory(type); + DepsNodeFactory *factory = deg_type_get_factory(type); comp_node = (ComponentDepsNode *)factory->create_node(this->id, "", name); /* Register. */ diff --git a/source/blender/depsgraph/intern/nodes/deg_node_component.cc b/source/blender/depsgraph/intern/nodes/deg_node_component.cc index 010f12409b4..17f35acee79 100644 --- a/source/blender/depsgraph/intern/nodes/deg_node_component.cc +++ b/source/blender/depsgraph/intern/nodes/deg_node_component.cc @@ -231,7 +231,7 @@ OperationDepsNode *ComponentDepsNode::add_operation(const DepsEvalOperationCb& o { OperationDepsNode *op_node = find_operation(opcode, name, name_tag); if (!op_node) { - DepsNodeFactory *factory = deg_get_node_factory(DEG_NODE_TYPE_OPERATION); + DepsNodeFactory *factory = deg_type_get_factory(DEG_NODE_TYPE_OPERATION); op_node = (OperationDepsNode *)factory->create_node(this->owner->id, "", name); /* register opnode in this component's operation set */ |