Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2016-02-14 12:14:28 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-02-14 12:14:28 +0300
commita71523fab4d519ee6ad88fcc0ac23967cc66d330 (patch)
tree29a5f934ed21b2ba6c9d7d9035896e0f44577197 /source/blender/editors/object/object_bake_api.c
parent1c870f46e79c6378488bd84ed9ffbb40affae464 (diff)
Cleanup: braces
Diffstat (limited to 'source/blender/editors/object/object_bake_api.c')
-rw-r--r--source/blender/editors/object/object_bake_api.c6
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;
}