Merge branch 'master' into blender2.8
[blender.git] / source / blender / blenkernel / intern / constraint.c
index 1c6bc7f98a2dfa509d6ac6076b6dcf7aaa33e04b..f7265f0dd9e92c8fc5155e708fe19088e6feef78 100644 (file)
@@ -4724,7 +4724,7 @@ void BKE_constraints_id_loop(ListBase *conlist, ConstraintIDFunc func, void *use
 /* helper for BKE_constraints_copy(), to be used for making sure that ID's are valid */
 static void con_extern_cb(bConstraint *UNUSED(con), ID **idpoin, bool UNUSED(is_reference), void *UNUSED(userData))
 {
-       if (*idpoin && ID_IS_LINKED_DATABLOCK(*idpoin))
+       if (*idpoin && ID_IS_LINKED(*idpoin))
                id_lib_extern(*idpoin);
 }