Depsgraph: Remove old depsgraph header from blenloader

This commit is contained in:
Sergey Sharybin 2017-04-06 16:13:57 +02:00
parent 7b45edacab
commit 7da2379124
2 changed files with 5 additions and 3 deletions

View File

@ -29,6 +29,7 @@ set(INC
../blenkernel
../blenlib
../blentranslation
../depsgraph
../imbuf
../makesdna
../makesrna

View File

@ -121,7 +121,6 @@
#include "BKE_constraint.h"
#include "BKE_context.h"
#include "BKE_curve.h"
#include "BKE_depsgraph.h"
#include "BKE_effect.h"
#include "BKE_fcurve.h"
#include "BKE_global.h" // for G
@ -150,6 +149,8 @@
#include "BKE_sound.h"
#include "BKE_colortools.h"
#include "DEG_depsgraph.h"
#include "NOD_common.h"
#include "NOD_socket.h"
@ -3309,7 +3310,7 @@ static void lib_link_pose(FileData *fd, Main *bmain, Object *ob, bPose *pose)
if (rebuild) {
DAG_id_tag_update_ex(bmain, &ob->id, OB_RECALC_OB | OB_RECALC_DATA | OB_RECALC_TIME);
DEG_id_tag_update_ex(bmain, &ob->id, OB_RECALC_OB | OB_RECALC_DATA | OB_RECALC_TIME);
BKE_pose_tag_recalc(bmain, pose);
}
}
@ -10034,7 +10035,7 @@ static void give_base_to_groups(
base = BKE_scene_base_add(scene, ob);
base->flag_legacy |= SELECT;
BKE_scene_base_flag_sync_from_base(base);
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);
scene->basact = base;
/* assign the group */