Depsgraph: Cleanup, make naming more understandable
[blender.git] / source / blender / depsgraph / intern / nodes / deg_node_component.cc
index 010f12409b450fd275e2c48020c820aa3120a5e6..17f35acee79c9eb7755276c373fe6ca1598eec0c 100644 (file)
@@ -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 */