Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / interface / interface_eyedropper_driver.c
index 1b7407c87ddc56dd2d8e053aa1acc73d655314c1..50a8473135abed2fbd48e7b382a200a46c043a58 100644 (file)
@@ -42,7 +42,9 @@
 
 #include "BKE_context.h"
 #include "BKE_animsys.h"
-#include "BKE_depsgraph.h"
+
+#include "DEG_depsgraph.h"
+#include "DEG_depsgraph_build.h"
 
 #include "RNA_access.h"
 #include "RNA_define.h"
@@ -130,8 +132,8 @@ static void driverdropper_sample(bContext *C, wmOperator *op, const wmEvent *eve
                        if (success) {
                                /* send updates */
                                UI_context_update_anim_flag(C);
-                               DAG_relations_tag_update(CTX_data_main(C));
-                               DAG_id_tag_update(ddr->ptr.id.data, OB_RECALC_OB | OB_RECALC_DATA);
+                               DEG_relations_tag_update(CTX_data_main(C));
+                               DEG_id_tag_update(ddr->ptr.id.data, OB_RECALC_OB | OB_RECALC_DATA);
                                WM_event_add_notifier(C, NC_ANIMATION | ND_FCURVES_ORDER, NULL);  // XXX
                        }
                }