Merge branch 'master' into blender2.8
[blender.git] / source / blender / depsgraph / intern / builder / deg_builder_nodes.cc
index 31fc432ff58f7f340cfa21a42248376e54faccbf..ec60d86ec82598db323bcbc1409284aafa06e87b 100644 (file)
@@ -450,7 +450,7 @@ void DepsgraphNodeBuilder::build_object(Scene *scene, Object *ob)
                                break;
 
                        case OB_ARMATURE: /* Pose */
-                               if (ID_IS_LINKED_DATABLOCK(ob) && ob->proxy_from != NULL) {
+                               if (ID_IS_LINKED(ob) && ob->proxy_from != NULL) {
                                        build_proxy_rig(ob);
                                }
                                else {