From a71523fab4d519ee6ad88fcc0ac23967cc66d330 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Sun, 14 Feb 2016 10:14:28 +0100 Subject: Cleanup: braces --- source/blender/editors/object/object_bake_api.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'source/blender/editors/object/object_bake_api.c') diff --git a/source/blender/editors/object/object_bake_api.c b/source/blender/editors/object/object_bake_api.c index 3c9b43b4278..f9ab0f45996 100644 --- a/source/blender/editors/object/object_bake_api.c +++ b/source/blender/editors/object/object_bake_api.c @@ -766,11 +766,9 @@ static int bake( result = MEM_callocN(sizeof(float) * depth * num_pixels, "bake return pixels"); /* for multires bake, use linear UV subdivision to match low res UVs */ - if (pass_type == SCE_PASS_NORMAL && normal_space == R_BAKE_SPACE_TANGENT && !is_selected_to_active) - { + if (pass_type == SCE_PASS_NORMAL && normal_space == R_BAKE_SPACE_TANGENT && !is_selected_to_active) { mmd_low = (MultiresModifierData *) modifiers_findByType(ob_low, eModifierType_Multires); - if (mmd_low) - { + if (mmd_low) { mmd_flags_low = mmd_low->flags; mmd_low->flags |= eMultiresModifierFlag_PlainUv; } -- cgit v1.2.3