Depsgraph: Cleanup, promote is_evaluating query

This way it might be used for sanity checks in RNA API as well.
This commit is contained in:
2019-10-10 11:03:58 +02:00
parent f9b7f3e930
commit c9d6eb4fb4
6 changed files with 14 additions and 14 deletions

View File

@@ -246,12 +246,6 @@ void DEG_stats_simple(const Depsgraph *graph,
}
}
bool DEG_debug_is_evaluating(struct Depsgraph *depsgraph)
{
DEG::Depsgraph *deg_graph = reinterpret_cast<DEG::Depsgraph *>(depsgraph);
return deg_graph->debug_is_evaluating;
}
static DEG::string depsgraph_name_for_logging(struct Depsgraph *depsgraph)
{
const char *name = DEG_debug_name_get(depsgraph);