Depsgraph: Cleanup, de-duplicate couple of utility functions
[blender.git] / source / blender / depsgraph / intern / eval / deg_eval_flush.cc
index 605ca990e0779ef726a978e4056c340c4c8baeac..8c79c611fe054b4816f1b121b375926288615b94 100644 (file)
@@ -54,23 +54,6 @@ extern "C" {
 
 namespace DEG {
 
-namespace {
-
-// TODO(sergey): De-duplicate with depsgraph_tag,cc
-void lib_id_recalc_tag(Main *bmain, ID *id)
-{
-       id->tag |= LIB_TAG_ID_RECALC;
-       DEG_id_type_tag(bmain, GS(id->name));
-}
-
-void lib_id_recalc_data_tag(Main *bmain, ID *id)
-{
-       id->tag |= LIB_TAG_ID_RECALC_DATA;
-       DEG_id_type_tag(bmain, GS(id->name));
-}
-
-}  /* namespace */
-
 typedef std::deque<OperationDepsNode *> FlushQueue;
 
 static void flush_init_func(void *data_v, int i)