diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-09 09:44:06 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-09 09:44:06 +0300 |
commit | eb9237eb20ccec08bce364db5f768b854a5bb440 (patch) | |
tree | a38adf64735fe7c32deda57df98650771c3473b0 /source/blender/makesrna | |
parent | 86a44d2b07a025c26352e10bf34f9250b695002a (diff) |
Cleanup: style
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_space.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c index 81dccbf16f1..91a6ab96b72 100644 --- a/source/blender/makesrna/intern/rna_space.c +++ b/source/blender/makesrna/intern/rna_space.c @@ -663,8 +663,10 @@ static void rna_3DViewShading_type_update(Main *bmain, Scene *scene, PointerRNA View3DShading *shading = ptr->data; if (shading->type == OB_MATERIAL || - (shading->type == OB_RENDER && (strcmp(scene->r.engine, RE_engine_id_BLENDER_EEVEE) == 0 || - strcmp(scene->r.engine, RE_engine_id_CYCLES) == 0))) { + (shading->type == OB_RENDER && + (strcmp(scene->r.engine, RE_engine_id_BLENDER_EEVEE) == 0 || + strcmp(scene->r.engine, RE_engine_id_CYCLES) == 0))) + { /* When switching from workbench to render or material mode the geometry of any * active sculpt session needs to be recalculated. */ for (Object *ob = bmain->objects.first; ob ; ob = ob->id.next) { |