Depsgraph: Show build time on --debug-depsgraph-time
Previously was only shown on --debug-depsgraph-build which had other unwanted noise.
This commit is contained in:
parent
00fc604478
commit
a5cbe81bed
|
@ -285,7 +285,7 @@ void DEG_graph_build_from_view_layer(Depsgraph *graph,
|
|||
/* Relations are up to date. */
|
||||
deg_graph->need_update = false;
|
||||
/* Finish statistics. */
|
||||
if (G.debug & G_DEBUG_DEPSGRAPH_BUILD) {
|
||||
if (G.debug & (G_DEBUG_DEPSGRAPH_BUILD | G_DEBUG_DEPSGRAPH_TIME)) {
|
||||
printf("Depsgraph built in %f seconds.\n",
|
||||
PIL_check_seconds_timer() - start_time);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue