Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2019-02-15 14:27:36 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2019-02-15 14:29:06 +0300
commita5cbe81bed4ff7dc2cc75a7708c532addbd4e42a (patch)
tree13fb79808f74c7cfef04049adbd1b3f62a6256fd /source
parent00fc604478c7a5e71406e5cd63f162ce11debe11 (diff)
Depsgraph: Show build time on --debug-depsgraph-time
Previously was only shown on --debug-depsgraph-build which had other unwanted noise.
Diffstat (limited to 'source')
-rw-r--r--source/blender/depsgraph/intern/depsgraph_build.cc2
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 8720e407681..7488428c5cc 100644
--- a/source/blender/depsgraph/intern/depsgraph_build.cc
+++ b/source/blender/depsgraph/intern/depsgraph_build.cc
@@ -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);
}