Merge branch 'master' into blender2.8
[blender.git] / source / blender / depsgraph / intern / builder / deg_builder_nodes.cc
index 221fcea5498a1e5e32e4f01d23d3ea6686eaff97..ccdec492c0a82243f0307cb890bc2cc128a61761 100644 (file)
@@ -235,9 +235,9 @@ OperationDepsNode *DepsgraphNodeBuilder::add_operation_node(
         const char *name,
         int name_tag)
 {
-       OperationDepsNode *op_node = comp_node->has_operation(opcode,
-                                                             name,
-                                                             name_tag);
+       OperationDepsNode *op_node = comp_node->find_operation(opcode,
+                                                              name,
+                                                              name_tag);
        if (op_node == NULL) {
                op_node = comp_node->add_operation(op, opcode, name, name_tag);
                graph_->operations.push_back(op_node);
@@ -307,7 +307,7 @@ OperationDepsNode *DepsgraphNodeBuilder::find_operation_node(
         int name_tag)
 {
        ComponentDepsNode *comp_node = add_component_node(id, comp_type, comp_name);
-       return comp_node->has_operation(opcode, name, name_tag);
+       return comp_node->find_operation(opcode, name, name_tag);
 }
 
 OperationDepsNode *DepsgraphNodeBuilder::find_operation_node(