diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-04-01 11:16:28 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-04-01 11:23:28 +0300 |
commit | f48895f74a202879b5de0fe457a37af221c4e36d (patch) | |
tree | 0647cca6d66559909652844990531dcc3203e3ab /source | |
parent | 473f17b3d557adbb06b89e0a186be48a0129086d (diff) |
Correct accidental changes by C Logging addition
Error in 891c1cfc9a3
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/depsgraph/intern/eval/deg_eval.cc | 6 | ||||
-rw-r--r-- | source/blender/python/mathutils/mathutils_Euler.c | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/depsgraph/intern/eval/deg_eval.cc b/source/blender/depsgraph/intern/eval/deg_eval.cc index 92518ba73e4..fc71b5ccb7b 100644 --- a/source/blender/depsgraph/intern/eval/deg_eval.cc +++ b/source/blender/depsgraph/intern/eval/deg_eval.cc @@ -252,6 +252,9 @@ void deg_evaluate_on_refresh(EvaluationContext *eval_ctx, Depsgraph *graph, const unsigned int layers) { + /* Set time for the current graph evaluation context. */ + TimeSourceDepsNode *time_src = graph->find_time_source(); + eval_ctx->ctime = time_src->cfra; /* Nothing to update, early out. */ if (BLI_gset_len(graph->entry_tags) == 0) { return; @@ -262,9 +265,6 @@ void deg_evaluate_on_refresh(EvaluationContext *eval_ctx, graph->layers); const bool do_time_debug = ((G.debug & G_DEBUG_DEPSGRAPH_TIME) != 0); const double start_time = do_time_debug ? PIL_check_seconds_timer() : 0; - /* Set time for the current graph evaluation context. */ - TimeSourceDepsNode *time_src = graph->find_time_source(); - eval_ctx->ctime = time_src->cfra; /* Set up evaluation context for depsgraph itself. */ DepsgraphEvalState state; state.eval_ctx = eval_ctx; diff --git a/source/blender/python/mathutils/mathutils_Euler.c b/source/blender/python/mathutils/mathutils_Euler.c index 9492b6d67f3..026384743bd 100644 --- a/source/blender/python/mathutils/mathutils_Euler.c +++ b/source/blender/python/mathutils/mathutils_Euler.c @@ -689,6 +689,8 @@ PyDoc_STRVAR(euler_doc, "\n" " This object gives access to Eulers in Blender.\n" "\n" +" .. seealso:: `Euler angles <https://en.wikipedia.org/wiki/Euler_angles>`__ on Wikipedia.\n" +"\n" " :param angles: Three angles, in radians.\n" " :type angles: 3d vector\n" " :param order: Optional order of the angles, a permutation of ``XYZ``.\n" |