Merge branch 'master' into blender2.8
[blender.git] / source / blender / makesrna / intern / rna_key.c
index b960890457b3652bd15f30a37ad39f0690dd0655..f28c02bf20d5e3c893952fe358f62395fba38090 100644 (file)
 #include "DNA_object_types.h"
 
 #include "BKE_animsys.h"
-#include "BKE_depsgraph.h"
 #include "BKE_key.h"
 #include "BKE_main.h"
 
+#include "DEG_depsgraph.h"
+
 #include "WM_api.h"
 #include "WM_types.h"
 
@@ -486,7 +487,7 @@ static void rna_Key_update_data(Main *bmain, Scene *UNUSED(scene), PointerRNA *p
 
        for (ob = bmain->object.first; ob; ob = ob->id.next) {
                if (BKE_key_from_object(ob) == key) {
-                       DAG_id_tag_update(&ob->id, OB_RECALC_DATA);
+                       DEG_id_tag_update(&ob->id, OB_RECALC_DATA);
                        WM_main_add_notifier(NC_OBJECT | ND_MODIFIER, ob);
                }
        }