diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-02-15 17:33:50 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-02-15 17:42:58 +0300 |
commit | 373b8e311d28ee907d6e1fb291e5318fd74867b7 (patch) | |
tree | 82fd51506c1cdf656363c76b83eb54c62765d2b4 /source/blender/depsgraph | |
parent | 7ee6635105671c373da5cc4f12f241c3f85868e8 (diff) |
Depsgraph: Correct logging of build time
Diffstat (limited to 'source/blender/depsgraph')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_build.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_build.cc b/source/blender/depsgraph/intern/depsgraph_build.cc index 7488428c5cc..38ace7b2d89 100644 --- a/source/blender/depsgraph/intern/depsgraph_build.cc +++ b/source/blender/depsgraph/intern/depsgraph_build.cc @@ -241,7 +241,7 @@ void DEG_graph_build_from_view_layer(Depsgraph *graph, ViewLayer *view_layer) { double start_time = 0.0; - if (G.debug & G_DEBUG_DEPSGRAPH_BUILD) { + if (G.debug & (G_DEBUG_DEPSGRAPH_BUILD | G_DEBUG_DEPSGRAPH_TIME)) { start_time = PIL_check_seconds_timer(); } DEG::Depsgraph *deg_graph = reinterpret_cast<DEG::Depsgraph *>(graph); |