diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-02-14 12:14:28 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-02-14 12:14:28 +0300 |
commit | a71523fab4d519ee6ad88fcc0ac23967cc66d330 (patch) | |
tree | 29a5f934ed21b2ba6c9d7d9035896e0f44577197 | |
parent | 1c870f46e79c6378488bd84ed9ffbb40affae464 (diff) |
Cleanup: braces
-rw-r--r-- | source/blender/editors/object/object_bake_api.c | 6 |
1 files changed, 2 insertions, 4 deletions
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; } |