Merge branch 'master' into blender2.8
[blender.git] / source / blender / blenkernel / intern / node.c
index beecb063a20173d2fe86d8fc4e84a7cf4a6da772..a81b0b75be6f83e7d49fe5c475d55061e2ded5a1 100644 (file)
@@ -2630,7 +2630,7 @@ void BKE_node_clipboard_add_node(bNode *node)
        node_info->id = node->id;
        if (node->id) {
                BLI_strncpy(node_info->id_name, node->id->name, sizeof(node_info->id_name));
-               if (ID_IS_LINKED_DATABLOCK(node->id)) {
+               if (ID_IS_LINKED(node->id)) {
                        BLI_strncpy(node_info->library_name, node->id->lib->filepath, sizeof(node_info->library_name));
                }
                else {