[Bf-blender-cvs] [a1820afa30] master: Depsgraph: Add some extra debug prints on eval
Sergey Sharybin
noreply at git.blender.org
Fri Feb 3 14:06:10 CET 2017
Commit: a1820afa30f3dda5b2b4d360c513f17590c91f97
Author: Sergey Sharybin
Date: Fri Feb 3 14:05:59 2017 +0100
Branches: master
https://developer.blender.org/rBa1820afa30f3dda5b2b4d360c513f17590c91f97
Depsgraph: Add some extra debug prints on eval
===================================================================
M source/blender/depsgraph/intern/eval/deg_eval.cc
===================================================================
diff --git a/source/blender/depsgraph/intern/eval/deg_eval.cc b/source/blender/depsgraph/intern/eval/deg_eval.cc
index 065f65659e..3a042535d2 100644
--- a/source/blender/depsgraph/intern/eval/deg_eval.cc
+++ b/source/blender/depsgraph/intern/eval/deg_eval.cc
@@ -53,6 +53,7 @@ extern "C" {
#include "intern/nodes/deg_node_component.h"
#include "intern/nodes/deg_node_operation.h"
#include "intern/depsgraph.h"
+#include "intern/depsgraph_intern.h"
#include "util/deg_util_foreach.h"
/* Unfinished and unused, and takes quite some pre-processing time. */
@@ -362,6 +363,11 @@ void deg_evaluate_on_refresh(EvaluationContext *eval_ctx,
return;
}
+ DEG_DEBUG_PRINTF("%s: layers:%u, graph->layers:%u\n",
+ __func__,
+ layers,
+ graph->layers);
+
/* Set time for the current graph evaluation context. */
TimeSourceDepsNode *time_src = graph->find_time_source();
eval_ctx->ctime = time_src->cfra;
More information about the Bf-blender-cvs
mailing list