Replace all old DAG calls with direct calls to new DEG and remove BKE_depsgraph.h

This removes BKE_depsgraph.h and depsgraph.c
This commit is contained in:
2017-06-08 10:14:53 +02:00
parent 7f480352ca
commit d675415eef
176 changed files with 1057 additions and 1204 deletions

View File

@@ -241,9 +241,9 @@ void SkinInfo::link_armature(bContext *C, Object *ob, std::map<COLLADAFW::Unique
BKE_object_workob_calc_parent(scene, ob, &workob);
invert_m4_m4(ob->parentinv, workob.obmat);
DAG_id_tag_update(&obn->id, OB_RECALC_OB | OB_RECALC_DATA);
DEG_id_tag_update(&obn->id, OB_RECALC_OB | OB_RECALC_DATA);
DAG_relations_tag_update(bmain);
DEG_relations_tag_update(bmain);
WM_event_add_notifier(C, NC_OBJECT | ND_TRANSFORM, NULL);
#endif
copy_m4_m4(ob->obmat, bind_shape_matrix);