Depsgraph: Cleanup, make naming more understandable
[blender.git] / source / blender / depsgraph / intern / nodes / deg_node.cc
index a15317586c1583f88f7d16fe4c40981d0f808216..1d4d542e7cc0e1d29b2be9b37ec6ee109ca24626 100644 (file)
@@ -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. */