Merge branch 'master' into blender2.8
[blender.git] / source / blender / blenkernel / intern / modifier.c
index 1a146dc67d14c0178c803a90f49b571db9ebaed9..8eb1a7733c1b2f5d7e8b8fd1d27ab7f270d15749 100644 (file)
@@ -733,7 +733,7 @@ void test_object_modifiers(Object *ob)
  */
 const char *modifier_path_relbase(Object *ob)
 {
-       if (G.relbase_valid || ID_IS_LINKED_DATABLOCK(ob)) {
+       if (G.relbase_valid || ID_IS_LINKED(ob)) {
                return ID_BLEND_PATH(G.main, &ob->id);
        }
        else {