Merge remote-tracking branch 'origin/master' into blender2.8
[blender.git] / source / blender / collada / AnimationImporter.cpp
index 75017ce32b48b1729935b0685624922eae31bcb4..f37b0ee1319e71f5c5b913fa8ef606e79085a92a 100644 (file)
@@ -1939,7 +1939,7 @@ Object *AnimationImporter::get_joint_object(COLLADAFW::Node *root, COLLADAFW::No
                job->lay = BKE_scene_base_find(scene, job)->lay = 2;
 
                mul_v3_fl(job->size, 0.5f);
-               DAG_id_tag_update(&job->id, OB_RECALC_OB);
+               DEG_id_tag_update(&job->id, OB_RECALC_OB);
 
                verify_adt_action((ID *)&job->id, 1);
 
@@ -1960,14 +1960,14 @@ Object *AnimationImporter::get_joint_object(COLLADAFW::Node *root, COLLADAFW::No
                if (par_job) {
                        job->parent = par_job;
 
-                       DAG_id_tag_update(&par_job->id, OB_RECALC_OB);
+                       DEG_id_tag_update(&par_job->id, OB_RECALC_OB);
                        job->parsubstr[0] = 0;
                }
 
                BKE_object_where_is_calc(scene, job);
 
                // after parenting and layer change
-               DAG_relations_tag_update(CTX_data_main(C));
+               DEG_relations_tag_update(CTX_data_main(C));
 
                joint_objects[node->getUniqueId()] = job;
        }