Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / animation / keyingsets.c
index 0a27fe14de7d9566ad7b27528b478eea3d1145b4..ce1379f760de1442d25fc613d9767de42d4a7d1e 100644 (file)
 #include "BKE_main.h"
 #include "BKE_animsys.h"
 #include "BKE_context.h"
-#include "BKE_depsgraph.h"
 #include "BKE_report.h"
 
+#include "DEG_depsgraph.h"
+
 #include "ED_keyframing.h"
 #include "ED_screen.h"
 
@@ -1049,7 +1050,7 @@ int ANIM_apply_keyingset(bContext *C, ListBase *dsources, bAction *act, KeyingSe
                                Object *ob = (Object *)ksp->id;
                                
                                // XXX: only object transforms?
-                               DAG_id_tag_update(&ob->id, OB_RECALC_OB | OB_RECALC_DATA | OB_RECALC_TIME);
+                               DEG_id_tag_update(&ob->id, OB_RECALC_OB | OB_RECALC_DATA | OB_RECALC_TIME);
                                break;
                        }
                        default: