diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-11-28 17:06:32 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-11-28 17:06:32 +0300 |
commit | 178ea1f7982922f319e55de9288352d3a3e4af43 (patch) | |
tree | 9c9e5f2c8b534318b9448d2053a7a29a222765a2 /source/blender/depsgraph | |
parent | e5a74f3ad31e1ee55e086de682c7d01b8d27697e (diff) |
Cleanup, naming of engine type variable
Diffstat (limited to 'source/blender/depsgraph')
-rw-r--r-- | source/blender/depsgraph/DEG_depsgraph.h | 4 | ||||
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_eval.cc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/depsgraph/DEG_depsgraph.h b/source/blender/depsgraph/DEG_depsgraph.h index 25e5714a7d7..b95fea24053 100644 --- a/source/blender/depsgraph/DEG_depsgraph.h +++ b/source/blender/depsgraph/DEG_depsgraph.h @@ -86,7 +86,7 @@ typedef struct EvaluationContext { struct Depsgraph *depsgraph; struct ViewLayer *view_layer; - struct RenderEngineType *engine; + struct RenderEngineType *engine_type; } EvaluationContext; /* DagNode->eval_flags */ @@ -218,7 +218,7 @@ void DEG_evaluation_context_init(struct EvaluationContext *eval_ctx, void DEG_evaluation_context_init_from_scene(struct EvaluationContext *eval_ctx, struct Scene *scene, struct ViewLayer *view_layer, - struct RenderEngineType *engine, + struct RenderEngineType *engine_type, eEvaluationMode mode); /* Free evaluation context. */ diff --git a/source/blender/depsgraph/intern/depsgraph_eval.cc b/source/blender/depsgraph/intern/depsgraph_eval.cc index 31332b416d5..1d389b902b8 100644 --- a/source/blender/depsgraph/intern/depsgraph_eval.cc +++ b/source/blender/depsgraph/intern/depsgraph_eval.cc @@ -81,13 +81,13 @@ void DEG_evaluation_context_init(EvaluationContext *eval_ctx, void DEG_evaluation_context_init_from_scene(EvaluationContext *eval_ctx, Scene *scene, ViewLayer *view_layer, - RenderEngineType *engine, + RenderEngineType *engine_type, eEvaluationMode mode) { DEG_evaluation_context_init(eval_ctx, mode); eval_ctx->depsgraph = BKE_scene_get_depsgraph(scene, view_layer, false); eval_ctx->view_layer = view_layer; - eval_ctx->engine = engine; + eval_ctx->engine_type = engine_type; eval_ctx->ctime = BKE_scene_frame_get(scene); BLI_assert(eval_ctx->depsgraph != NULL); } |