Merge branch 'master' into blender2.8
[blender.git] / source / blender / blenkernel / intern / library_remap.c
index 8581530907fd8a4e8f7fc7cf8729453578449e3f..13975dbcdebb3401d57486f1ed91f12aa88ba21d 100644 (file)
@@ -760,7 +760,7 @@ static int id_relink_to_newid_looper(void *UNUSED(user_data), ID *UNUSED(self_id
  */
 void BKE_libblock_relink_to_newid(ID *id)
 {
-       if (ID_IS_LINKED_DATABLOCK(id))
+       if (ID_IS_LINKED(id))
                return;
 
        BKE_library_foreach_ID_link(NULL, id, id_relink_to_newid_looper, NULL, 0);