Depsgraph: Fix wrong check for need-to-be-evaluated

Was missing since 1693a5efe9.
This commit is contained in:
Sergey Sharybin 2019-07-31 16:39:33 +02:00
parent 96843ae85c
commit 0b2cb96725
1 changed files with 1 additions and 1 deletions

View File

@ -86,5 +86,5 @@ void DEG_evaluate_on_framechange(Main *bmain, Depsgraph *graph, float ctime)
bool DEG_needs_eval(Depsgraph *graph)
{
DEG::Depsgraph *deg_graph = reinterpret_cast<DEG::Depsgraph *>(graph);
return BLI_gset_len(deg_graph->entry_tags) != 0;
return BLI_gset_len(deg_graph->entry_tags) != 0 || deg_graph->need_update_time;
}