diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-04-06 17:11:50 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-04-06 17:11:50 +0300 |
commit | 7b45edacab364b9bb166d763fa79de3dfec7c316 (patch) | |
tree | cca7686e2594e9d039fd436e0018d08c90ef3d1b /source/blender/blenkernel/intern/library.c | |
parent | 2613ad64c5514cd3d610d3b5a18d0831081fc706 (diff) |
Depsgraph: Remove old header from blenkernel
Diffstat (limited to 'source/blender/blenkernel/intern/library.c')
-rw-r--r-- | source/blender/blenkernel/intern/library.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/library.c b/source/blender/blenkernel/intern/library.c index c95d13b7668..48a6693ad6d 100644 --- a/source/blender/blenkernel/intern/library.c +++ b/source/blender/blenkernel/intern/library.c @@ -91,7 +91,6 @@ #include "BKE_cachefile.h" #include "BKE_context.h" #include "BKE_curve.h" -#include "BKE_depsgraph.h" #include "BKE_font.h" #include "BKE_global.h" #include "BKE_group.h" @@ -773,11 +772,11 @@ void BKE_main_lib_objects_recalc_all(Main *bmain) /* flag for full recalc */ for (ob = bmain->object.first; ob; ob = ob->id.next) { if (ID_IS_LINKED_DATABLOCK(ob)) { - 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); } } - DAG_id_type_tag(bmain, ID_OB); + DEG_id_type_tag(bmain, ID_OB); } /** @@ -988,7 +987,7 @@ void *BKE_libblock_alloc(Main *bmain, short type, const char *name) /* alphabetic insertion: is in new_id */ BKE_main_unlock(bmain); } - DAG_id_type_tag(bmain, type); + DEG_id_type_tag(bmain, type); return id; } |