diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-10-28 14:49:04 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-10-28 14:49:04 +0300 |
commit | 25b7455eea31eca4d72ef96c41414cd96a8f3efd (patch) | |
tree | bc44e9bbf3469a5f74eefc9b6fad468af0c06e68 /source/blender/editors/render/render_preview.c | |
parent | cefe137e9144c34d6ea432013410d07bf3106c4b (diff) |
Cleanup: de-duplicate engine-id's
Diffstat (limited to 'source/blender/editors/render/render_preview.c')
-rw-r--r-- | source/blender/editors/render/render_preview.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/render/render_preview.c b/source/blender/editors/render/render_preview.c index 450a3b19889..fb7653282b8 100644 --- a/source/blender/editors/render/render_preview.c +++ b/source/blender/editors/render/render_preview.c @@ -311,7 +311,7 @@ static Scene *preview_prepare_scene(Scene *scene, ID *id, int id_type, ShaderPre * seems commonly used render engines does not support * such kind of rendering. */ - BLI_strncpy(sce->r.engine, "BLENDER_RENDER", sizeof(sce->r.engine)); + BLI_strncpy(sce->r.engine, RE_engine_id_BLENDER_RENDER, sizeof(sce->r.engine)); } else { BLI_strncpy(sce->r.engine, scene->r.engine, sizeof(sce->r.engine)); |