Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / mesh / editmesh_tools.c
index 41f3c1e6548d827b3a7379a4edd06b86b794f962..aff82cd1204d2c8947e94de0f0c111c56a8ea0a1 100644 (file)
@@ -3333,7 +3333,7 @@ static int edbm_separate_exec(bContext *C, wmOperator *op)
                        Object *ob = base_iter->object;
                        if (ob->type == OB_MESH) {
                                Mesh *me = ob->data;
-                               if (!ID_IS_LINKED_DATABLOCK(me)) {
+                               if (!ID_IS_LINKED(me)) {
                                        BMesh *bm_old = NULL;
                                        int retval_iter = 0;