Merge branch 'master' into blender2.8
[blender.git] / source / blender / draw / modes / object_mode.c
index 3fb3183e8080e8132aed29c404b4e04951f436d3..ee2e8d6d236662a3152ea22e988fe2ae007291c3 100644 (file)
@@ -1630,7 +1630,7 @@ static void DRW_shgroup_relationship_lines(OBJECT_StorageList *stl, Object *ob)
 
 static void DRW_shgroup_object_center(OBJECT_StorageList *stl, Object *ob, SceneLayer *sl, View3D *v3d)
 {
-       const bool is_library = ob->id.us > 1 || ID_IS_LINKED_DATABLOCK(ob);
+       const bool is_library = ob->id.us > 1 || ID_IS_LINKED(ob);
        DRWShadingGroup *shgroup;
 
        if (ob == OBACT_NEW(sl)) {